/pidgin/main: 189805249b19: Silence a warning.
Elliott Sales de Andrade
qulogic at pidgin.im
Tue Jul 24 04:03:47 EDT 2012
Changeset: 189805249b1936485031eb1f9fa93ff89aadf1f8
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2012-06-25 04:23 -0400
Branch: cpw.qulogic.gtk3-required
URL: http://hg.pidgin.im/pidgin/main/rev/189805249b19
Description:
Silence a warning.
diffstat:
pidgin/gtkblist.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -985,8 +985,8 @@
gtkblist = PIDGIN_BLIST(purple_get_blist());
blist_window = gtkblist ? GTK_WINDOW(gtkblist->window) : NULL;
- data->window = gtk_dialog_new_with_buttons(title, blist_window, 0, NULL);
-
+ data->window = gtk_dialog_new();
+ gtk_window_set_title(GTK_WINDOW(data->window), title);
gtk_window_set_transient_for(GTK_WINDOW(data->window), blist_window);
gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK);
gtk_container_set_border_width(GTK_CONTAINER(data->window), PIDGIN_HIG_BOX_SPACE);
@@ -6902,6 +6902,7 @@
g_free(priv);
g_free(gtkblist);
+ accountmenu = NULL;
gtkblist = NULL;
purple_prefs_disconnect_by_handle(pidgin_blist_get_handle());
}
More information about the Commits
mailing list