mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
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:
parent
d81f6fffa6
commit
4ce475bd07
@ -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>
|
2006-04-26 Kristian Rietveld <kris@imendio.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (node_is_visible): new function,
|
* gtk/gtktreeview.c (node_is_visible): new function,
|
||||||
|
@ -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>
|
2006-04-26 Kristian Rietveld <kris@imendio.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (node_is_visible): new function,
|
* gtk/gtktreeview.c (node_is_visible): new function,
|
||||||
|
@ -423,9 +423,6 @@ gtk_dialog_close (GtkDialog *dialog)
|
|||||||
GtkWidget *widget = GTK_WIDGET (dialog);
|
GtkWidget *widget = GTK_WIDGET (dialog);
|
||||||
GdkEvent *event;
|
GdkEvent *event;
|
||||||
|
|
||||||
if (!dialog_find_button (dialog, GTK_RESPONSE_CANCEL))
|
|
||||||
return;
|
|
||||||
|
|
||||||
event = gdk_event_new (GDK_DELETE);
|
event = gdk_event_new (GDK_DELETE);
|
||||||
|
|
||||||
event->any.window = g_object_ref (widget->window);
|
event->any.window = g_object_ref (widget->window);
|
||||||
|
Loading…
Reference in New Issue
Block a user