pidgin/gtkdialogs.h

changeset 15562
8c8249fe5e3c
parent 15435
4b933b06d75e
child 15571
812bd6c69c8c
equal deleted inserted replaced
15561:bdb019a1f485 15562:8c8249fe5e3c
19 * 19 *
20 * You should have received a copy of the GNU General Public License 20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software 21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */ 23 */
24 #ifndef _GAIM_GTKDIALOGS_H_ 24 #ifndef _PIDGINDIALOGS_H_
25 #define _GAIM_GTKDIALOGS_H_ 25 #define _PIDGINDIALOGS_H_
26 26
27 #include "gtkgaim.h" 27 #include "gtkgaim.h"
28 28
29 #include "account.h" 29 #include "account.h"
30 #include "conversation.h" 30 #include "conversation.h"
31 31
32 /* Functions in gtkdialogs.c (these should actually stay in this file) */ 32 /* Functions in gtkdialogs.c (these should actually stay in this file) */
33 void gaim_gtkdialogs_destroy_all(void); 33 void pidgindialogs_destroy_all(void);
34 void gaim_gtkdialogs_about(void); 34 void pidgindialogs_about(void);
35 void gaim_gtkdialogs_im(void); 35 void pidgindialogs_im(void);
36 void gaim_gtkdialogs_im_with_user(GaimAccount *, const char *); 36 void pidgindialogs_im_with_user(GaimAccount *, const char *);
37 void gaim_gtkdialogs_info(void); 37 void pidgindialogs_info(void);
38 void gaim_gtkdialogs_log(void); 38 void pidgindialogs_log(void);
39 void gaim_gtkdialogs_alias_contact(GaimContact *); 39 void pidgindialogs_alias_contact(GaimContact *);
40 void gaim_gtkdialogs_alias_buddy(GaimBuddy *); 40 void pidgindialogs_alias_buddy(GaimBuddy *);
41 void gaim_gtkdialogs_alias_chat(GaimChat *); 41 void pidgindialogs_alias_chat(GaimChat *);
42 42
43 void gaim_gtkdialogs_remove_buddy(GaimBuddy *); 43 void pidgindialogs_remove_buddy(GaimBuddy *);
44 void gaim_gtkdialogs_remove_group(GaimGroup *); 44 void pidgindialogs_remove_group(GaimGroup *);
45 void gaim_gtkdialogs_remove_chat(GaimChat *); 45 void pidgindialogs_remove_chat(GaimChat *);
46 void gaim_gtkdialogs_remove_contact(GaimContact *); 46 void pidgindialogs_remove_contact(GaimContact *);
47 void gaim_gtkdialogs_merge_groups(GaimGroup *, const char *); 47 void pidgindialogs_merge_groups(GaimGroup *, const char *);
48 48
49 /* Everything after this should probably be moved elsewhere */ 49 /* Everything after this should probably be moved elsewhere */
50 50
51 /** 51 /**
52 * Our UI's identifier. 52 * Our UI's identifier.
53 */ 53 */
54 #define GAIM_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \ 54 #define GAIM_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \
55 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG) 55 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG)
56 #define GAIM_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED) 56 #define GAIM_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
57 57
58 #endif /* _GAIM_GTKDIALOGS_H_ */ 58 #endif /* _PIDGINDIALOGS_H_ */

mercurial