comparison pidgin/gtkicon-theme.h @ 26817:3912f55a1633

propagate from branch 'im.pidgin.pidgin' (head fbb4fe5da444943eecc76bdcd6c8ba967790b6c8) to branch 'im.pidgin.cpw.darkrain42.xmpp.bosh' (head 601bc627c9430320848361f0ed81c6c4c6ee53e0)
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Apr 2009 18:43:57 +0000
parents 84ab7b2db114
children 4d92a431d0a1
comparison
equal deleted inserted replaced
26743:de9816c970fe 26817:3912f55a1633
1 /** 1 /**
2 * @file icon-theme.h Pidgin Icon Theme Class API 2 * @file gtkicon-theme.h Pidgin Icon Theme Class API
3 */ 3 */
4 4
5 /* pidgin 5 /* pidgin
6 * 6 *
7 * Pidgin is the legal property of its developers, whose names are too numerous 7 * Pidgin is the legal property of its developers, whose names are too numerous
70 GType pidgin_icon_theme_get_type(void); 70 GType pidgin_icon_theme_get_type(void);
71 71
72 /** 72 /**
73 * Returns a copy of the filename for the icon event or NULL if it is not set 73 * Returns a copy of the filename for the icon event or NULL if it is not set
74 * 74 *
75 * @param theme the theme
75 * @param event the pidgin icon event to look up 76 * @param event the pidgin icon event to look up
76 * 77 *
77 * @returns the filename of the icon event 78 * @returns the filename of the icon event
78 */ 79 */
79 const gchar *pidgin_icon_theme_get_icon(PidginIconTheme *theme, 80 const gchar *pidgin_icon_theme_get_icon(PidginIconTheme *theme,
80 const gchar *event); 81 const gchar *event);
81 82
82 /** 83 /**
83 * Sets the filename for a given icon id, setting the icon to NULL will remove the icon from the theme 84 * Sets the filename for a given icon id, setting the icon to NULL will remove the icon from the theme
84 * 85 *
86 * @param theme the theme
85 * @param icon_id a string representing what the icon is to be used for 87 * @param icon_id a string representing what the icon is to be used for
86 * @param filename the name of the file to be used for the given id 88 * @param filename the name of the file to be used for the given id
87 */ 89 */
88 void pidgin_icon_theme_set_icon(PidginIconTheme *theme, 90 void pidgin_icon_theme_set_icon(PidginIconTheme *theme,
89 const gchar *icon_id, 91 const gchar *icon_id,