Mercurial > pidgin
diff src/gtkdialogs.h @ 9714:2273790bb518
[gaim-migrate @ 10575]
Begin cleanup of gtkdialogs.c/.h
Renamed show_warn_dialog to gaim_gtkdialogs_warn
Renamed show_im_dialog to gaim_gtkdialogs_im
Renamed show_info_dialog to gaim_gtkdialogs_info
Renamed show_log_dialog to gaim_gtkdialogs_log
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 08 Aug 2004 05:56:17 +0000 |
parents | db62420a53a2 |
children | 78022bad9367 |
line wrap: on
line diff
--- a/src/gtkdialogs.h Sun Aug 08 05:38:02 2004 +0000 +++ b/src/gtkdialogs.h Sun Aug 08 05:56:17 2004 +0000 @@ -31,20 +31,26 @@ #include "gtkinternal.h" /* Functions in gtkdialogs.c (these should actually stay in this file) */ +void gaim_gtkdialogs_im(); +void gaim_gtkdialogs_info(); +void gaim_gtkdialogs_log(); +void gaim_gtkdialogs_new_im(GaimAccount *, const char *); +void gaim_gtkdialogs_warn(GaimConnection *, const char *); + void alias_dialog_bud(GaimBuddy *); void alias_dialog_contact(GaimContact *); void alias_dialog_blist_chat(GaimChat *); -void show_warn_dialog(GaimConnection *, const char *); -void gaim_gtkdialogs_new_im(GaimAccount *, const char *); -void show_im_dialog(); -void show_info_dialog(); -void show_log_dialog(); -void destroy_all_dialogs(); void create_away_mess(GtkWidget *, void *); void show_confirm_del(GaimBuddy *); void show_confirm_del_group(GaimGroup *); void show_confirm_del_blist_chat(GaimChat *); void show_confirm_del_contact(GaimContact *); +void destroy_all_dialogs(); + +/* Functions in about.c */ +extern void show_about(GtkWidget *, void *); + +/* Everything after this should probably be moved elsewhere */ /** * Our UI's identifier. @@ -56,14 +62,6 @@ gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG) #define GAIM_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED) -/* This is backwards-compatibility code for old versions of GTK+ (2.2.1 and - * earlier). It defines the new wrap behavior (unknown in earlier versions) - * as the old (slightly buggy) wrap behavior. - */ -#ifndef GTK_WRAP_WORD_CHAR -#define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD -#endif - #define DEFAULT_FONT_FACE "Helvetica" @@ -115,9 +113,6 @@ extern struct smiley_theme *current_smiley_theme; extern GSList *smiley_themes; -/* Functions in about.c */ -extern void show_about(GtkWidget *, void *); - /* Functions in main.c */ extern void show_login(); extern void gaim_setup(GaimConnection *);