pidgin/gtkdialogs.h

changeset 32229
f4aa2edf2735
parent 32150
771effb35c33
child 32433
f539a2c083b2
child 32790
b95c7c504118
equal deleted inserted replaced
32043:73c3b1db2364 32229:f4aa2edf2735
40 void pidgin_dialogs_im(void); 40 void pidgin_dialogs_im(void);
41 void pidgin_dialogs_im_with_user(PurpleAccount *, const char *); 41 void pidgin_dialogs_im_with_user(PurpleAccount *, const char *);
42 void pidgin_dialogs_info(void); 42 void pidgin_dialogs_info(void);
43 void pidgin_dialogs_log(void); 43 void pidgin_dialogs_log(void);
44 44
45 #if !(defined PIDGIN_DISABLE_DEPRECATED) || (defined _PIDGIN_GTKDIALOGS_C_)
46 /**
47 * @deprecated This function is no longer used and will be removed in
48 * Pidgin 3.0.0 unless there is sufficient demand to keep it.
49 */
50 void pidgin_dialogs_alias_contact(PurpleContact *);
51 #endif
52
53 void pidgin_dialogs_alias_buddy(PurpleBuddy *); 45 void pidgin_dialogs_alias_buddy(PurpleBuddy *);
54 void pidgin_dialogs_alias_chat(PurpleChat *); 46 void pidgin_dialogs_alias_chat(PurpleChat *);
55 void pidgin_dialogs_remove_buddy(PurpleBuddy *); 47 void pidgin_dialogs_remove_buddy(PurpleBuddy *);
56 void pidgin_dialogs_remove_group(PurpleGroup *); 48 void pidgin_dialogs_remove_group(PurpleGroup *);
57 void pidgin_dialogs_remove_chat(PurpleChat *); 49 void pidgin_dialogs_remove_chat(PurpleChat *);
58 void pidgin_dialogs_remove_contact(PurpleContact *); 50 void pidgin_dialogs_remove_contact(PurpleContact *);
59 void pidgin_dialogs_merge_groups(PurpleGroup *, const char *); 51 void pidgin_dialogs_merge_groups(PurpleGroup *, const char *);
60 52
61 /* Everything after this should probably be moved elsewhere */ 53 /* This macro should probably be moved elsewhere */
62
63 #ifndef PIDGIN_DISABLE_DEPRECATED
64 /* This PIDGIN_DISABLE_DEPRECATED doesn't need to be deactivated by
65 * _PIDGIN_GTKDIALOGS_C_, because it shouldn't be using this macro. */
66 #define PIDGIN_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \
67 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG)
68 #endif
69
70 #define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED) 54 #define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
71 55
72 #endif /* _PIDGINDIALOGS_H_ */ 56 #endif /* _PIDGINDIALOGS_H_ */

mercurial