mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
* gtk/gtkwidget.c (gtk_widget_real_grab_focus): Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL svn path=/trunk/; revision=21622
This commit is contained in:
parent
4bd29a4229
commit
7bd7a266f2
@ -1,3 +1,10 @@
|
||||
2008-10-09 Christian Dywan <christian@imendio.com>
|
||||
|
||||
Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_grab_focus):
|
||||
Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
|
||||
|
||||
2008-10-09 Christian Dywan <christian@imendio.com>
|
||||
|
||||
Bug 555573 – gtk_font_selection_set_font_name
|
||||
|
@ -5096,7 +5096,7 @@ gtk_widget_real_grab_focus (GtkWidget *focus_widget)
|
||||
* be set by the next loop.
|
||||
*/
|
||||
toplevel = gtk_widget_get_toplevel (focus_widget);
|
||||
if (GTK_WIDGET_TOPLEVEL (toplevel))
|
||||
if (GTK_IS_WINDOW (toplevel))
|
||||
{
|
||||
widget = GTK_WINDOW (toplevel)->focus_widget;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user