forked from AuroraMiddleware/gtk
Return FALSE not true in the grab_widget == NULL case. (Bug reported by
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (check_is_grabbed): Return FALSE not true in the grab_widget == NULL case. (Bug reported by Padraig O'Briain, #69735) * gtk/gtkplug.c (handle_modality_on): Realize the modality window so gtk_widget_event() doesn't complain :-((((.
This commit is contained in:
parent
2ca60b920b
commit
887c5ad832
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
|
||||
in the grab_widget == NULL case. (Bug reported by
|
||||
Padraig O'Briain, #69735)
|
||||
|
||||
* gtk/gtkplug.c (handle_modality_on): Realize the modality
|
||||
window so gtk_widget_event() doesn't complain :-((((.
|
||||
|
||||
2002-01-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merge from gdk-pixbuf stable.
|
||||
|
@ -1169,7 +1169,7 @@ check_is_grabbed (GtkWidget *widget,
|
||||
if (grab_widget)
|
||||
return !(widget == grab_widget || gtk_widget_is_ancestor (widget, grab_widget));
|
||||
else
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -916,6 +916,7 @@ handle_modality_on (GtkPlug *plug)
|
||||
if (!plug->modality_window)
|
||||
{
|
||||
plug->modality_window = gtk_window_new (GTK_WINDOW_POPUP);
|
||||
gtk_widget_realize (plug->modality_window);
|
||||
gtk_window_group_add_window (plug->modality_group, GTK_WINDOW (plug->modality_window));
|
||||
gtk_grab_add (plug->modality_window);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user