comparison pidgin/pidginstock.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 5d71de58452c
children 1446436616d4 4548c114e953
comparison
equal deleted inserted replaced
26743:de9816c970fe 26817:3912f55a1633
183 #define PIDGIN_ICON_SIZE_TANGO_MEDIUM "pidgin-icon-size-tango-medium" 183 #define PIDGIN_ICON_SIZE_TANGO_MEDIUM "pidgin-icon-size-tango-medium"
184 #define PIDGIN_ICON_SIZE_TANGO_LARGE "pidgin-icon-size-tango-large" 184 #define PIDGIN_ICON_SIZE_TANGO_LARGE "pidgin-icon-size-tango-large"
185 #define PIDGIN_ICON_SIZE_TANGO_HUGE "pidgin-icon-size-tango-huge" 185 #define PIDGIN_ICON_SIZE_TANGO_HUGE "pidgin-icon-size-tango-huge"
186 186
187 /** 187 /**
188 * extends PidginIconTheme (gtkicon-theme.h)
189 * A pidgin stock icon theme.
190 * This object represents a Pidgin stock icon theme.
191 *
192 * PidginStockIconTheme is a PidginIconTheme Object.
193 */
194 typedef struct _PidginStockIconTheme PidginStockIconTheme;
195 typedef struct _PidginStockIconThemeClass PidginStockIconThemeClass;
196
197 #define PIDGIN_TYPE_STOCK_ICON_THEME (pidgin_stock_icon_theme_get_type ())
198 #define PIDGIN_STOCK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconTheme))
199 #define PIDGIN_STOCK_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconThemeClass))
200 #define PIDGIN_IS_STOCK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_STOCK_ICON_THEME))
201 #define PIDGIN_IS_STOCK_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_STOCK_ICON_THEME))
202 #define PIDGIN_STOCK_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconThemeClass))
203
204 struct _PidginStockIconTheme
205 {
206 PidginIconTheme parent;
207 };
208
209 struct _PidginStockIconThemeClass
210 {
211 PidginIconThemeClass parent_class;
212 };
213
214 G_BEGIN_DECLS
215
216 /**
217 * GObject foo.
218 * @internal.
219 */
220 GType pidgin_stock_icon_theme_get_type(void);
221
222 /**
188 * Loades all of the icons from the status icon theme into Pidgin stock 223 * Loades all of the icons from the status icon theme into Pidgin stock
189 * 224 *
190 * @param theme the theme to load, or null to load all the default icons 225 * @param theme the theme to load, or null to load all the default icons
191 */ 226 */
192 void pidgin_stock_load_status_icon_theme(PidginStatusIconTheme *theme); 227 void pidgin_stock_load_status_icon_theme(PidginStatusIconTheme *theme);
193 228
229
230 void pidgin_stock_load_stock_icon_theme(PidginStockIconTheme *theme);
231
194 /** 232 /**
195 * Sets up the purple stock repository. 233 * Sets up the purple stock repository.
196 */ 234 */
197 void pidgin_stock_init(void); 235 void pidgin_stock_init(void);
198 236
237 G_END_DECLS
199 #endif /* _PIDGIN_STOCK_H_ */ 238 #endif /* _PIDGIN_STOCK_H_ */