pidgin/gtknotify.c

changeset 32755
de2d88e575ee
parent 32691
d6eb58903f8b
child 32765
8bbf4ee0dc42
--- a/pidgin/gtknotify.c	Thu Dec 22 05:45:40 2011 +0000
+++ b/pidgin/gtknotify.c	Thu Dec 22 05:47:25 2011 +0000
@@ -1031,7 +1031,7 @@
 		switch (b->type) {
 			case PURPLE_NOTIFY_BUTTON_LABELED:
 				if(b->label) {
-					button = gtk_button_new_with_label(b->label);
+					button = gtk_dialog_add_button(GTK_DIALOG(window), b->label, GTK_RESPONSE_NONE);
 				} else {
 					purple_debug_warning("gtknotify", "Missing button label\n");
 				}

mercurial