pidgin/prefs/pidginprefsinternal.h

changeset 41381
acedeb1e8804
parent 41366
789f96848a43
child 41382
b45e9fceeae9
equal deleted inserted replaced
41380:e3934b4c2950 41381:acedeb1e8804
29 29
30 #include <purple.h> 30 #include <purple.h>
31 31
32 typedef struct _PidginPrefCombo PidginPrefCombo; 32 typedef struct _PidginPrefCombo PidginPrefCombo;
33 33
34 typedef void (*PidginPrefsBindDropdownCallback)(GtkComboBox *combo_box,
35 PidginPrefCombo *combo);
36
37 struct _PidginPrefCombo { 34 struct _PidginPrefCombo {
38 GtkWidget *combo; 35 GtkWidget *combo;
39 PurplePrefType type; 36 PurplePrefType type;
40 const gchar *key; 37 const gchar *key;
41 union { 38 union {
43 int integer; 40 int integer;
44 gboolean boolean; 41 gboolean boolean;
45 } value; 42 } value;
46 gint previously_active; 43 gint previously_active;
47 gint current_active; 44 gint current_active;
48 PidginPrefsBindDropdownCallback cb;
49 }; 45 };
50 46
51 G_BEGIN_DECLS 47 G_BEGIN_DECLS
52 48
53 G_GNUC_INTERNAL 49 G_GNUC_INTERNAL

mercurial