pidgin/gtknotify.c

changeset 35689
1e257009ac10
parent 35527
707c3c2b2c8a
child 36002
31a8779e91d4
child 37133
832cd077145e
--- a/pidgin/gtknotify.c	Thu Apr 03 18:01:10 2014 +0200
+++ b/pidgin/gtknotify.c	Thu Apr 03 18:23:35 2014 +0200
@@ -789,6 +789,7 @@
 			g_free(to_text);
 			g_free(from_text);
 			g_free(subject_text);
+			(void)first;
 
 			/* If we don't keep track of this, will leak "data" for each of the notifications except the last */
 			data2 = pidgin_notify_add_mail(mail_dialog->treemodel, account, notification, urls ? *urls : NULL, 0, FALSE, &new_data);
@@ -1737,6 +1738,7 @@
 
 	button = gtk_dialog_add_button(GTK_DIALOG(dialog),
 	                               GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
+	gtk_widget_set_sensitive(button, TRUE);
 
 	gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
 	gtk_misc_set_alignment(GTK_MISC(label), 0, 0);

mercurial