/pidgin/main: f51e53d27b99: Fix a minor warning.

Elliott Sales de Andrade qulogic at pidgin.im
Tue Jul 24 04:03:52 EDT 2012


Changeset: f51e53d27b99535350b0433a73877d9f0bd882e8
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-07-23 16:32 -0400
Branch:	 cpw.qulogic.gtk3-required
URL: http://hg.pidgin.im/pidgin/main/rev/f51e53d27b99

Description:

Fix a minor warning.

diffstat:

 pidgin/gtkplugin.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (16 lines):

diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -718,10 +718,8 @@
 		return;
 	}
 
-	plugin_dialog = gtk_dialog_new_with_buttons(_("Plugins"),
-						    NULL,
-						    0,
-						    NULL);
+	plugin_dialog = gtk_dialog_new();
+	gtk_window_set_title(GTK_WINDOW(plugin_dialog), _("Plugins"));
 	pref_button = gtk_dialog_add_button(GTK_DIALOG(plugin_dialog),
 						_("Configure Pl_ugin"), PIDGIN_RESPONSE_CONFIGURE);
 	gtk_dialog_add_button(GTK_DIALOG(plugin_dialog),



More information about the Commits mailing list