comparison pidgin/gtkdialogs.h @ 32321:67f8717477ea

Remove some deprecated stuff
author Mark Doliner <mark@kingant.net>
date Sun, 21 Aug 2011 02:11:02 +0000
parents 4bdf4e5e6d67
children 9e9efd1a09a2
comparison
equal deleted inserted replaced
32320:7df08e88d9bb 32321:67f8717477ea
56 void pidgin_dialogs_remove_group(PurpleGroup *); 56 void pidgin_dialogs_remove_group(PurpleGroup *);
57 void pidgin_dialogs_remove_chat(PurpleChat *); 57 void pidgin_dialogs_remove_chat(PurpleChat *);
58 void pidgin_dialogs_remove_contact(PurpleContact *); 58 void pidgin_dialogs_remove_contact(PurpleContact *);
59 void pidgin_dialogs_merge_groups(PurpleGroup *, const char *); 59 void pidgin_dialogs_merge_groups(PurpleGroup *, const char *);
60 60
61 /* Everything after this should probably be moved elsewhere */ 61 /* 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) 62 #define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
71 63
72 #endif /* _PIDGINDIALOGS_H_ */ 64 #endif /* _PIDGINDIALOGS_H_ */