Don't make this conditional on having a GTK_RESPONSE_CANCEL button -> end

2006-04-26  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
	on having a GTK_RESPONSE_CANCEL button -> end the idiocy.  Fixes
	bug #101293.
This commit is contained in:
Federico Mena Quintero 2006-04-26 20:33:18 +00:00 committed by Federico Mena Quintero
parent d81f6fffa6
commit 4ce475bd07
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-04-26 Federico Mena Quintero <federico@novell.com>
* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
on having a GTK_RESPONSE_CANCEL button -> end the idiocy. Fixes
bug #101293.
2006-04-26 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (node_is_visible): new function,

View File

@ -1,3 +1,9 @@
2006-04-26 Federico Mena Quintero <federico@novell.com>
* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
on having a GTK_RESPONSE_CANCEL button -> end the idiocy. Fixes
bug #101293.
2006-04-26 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (node_is_visible): new function,

View File

@ -423,9 +423,6 @@ gtk_dialog_close (GtkDialog *dialog)
GtkWidget *widget = GTK_WIDGET (dialog);
GdkEvent *event;
if (!dialog_find_button (dialog, GTK_RESPONSE_CANCEL))
return;
event = gdk_event_new (GDK_DELETE);
event->any.window = g_object_ref (widget->window);