forked from AuroraMiddleware/gtk
Use accessor funtions to acces GtkInvisible
This commit is contained in:
parent
75686d04a0
commit
d4a59142ad
@ -7588,7 +7588,7 @@ gtk_widget_get_screen_unchecked (GtkWidget *widget)
|
||||
if (GTK_IS_WINDOW (toplevel))
|
||||
return GTK_WINDOW (toplevel)->screen;
|
||||
else if (GTK_IS_INVISIBLE (toplevel))
|
||||
return GTK_INVISIBLE (widget)->screen;
|
||||
return gtk_invisible_get_screen (GTK_INVISIBLE (widget));
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user