Use accessor funtions to acces GtkInvisible

This commit is contained in:
Javier Jardón 2010-06-24 03:04:10 +02:00
parent 75686d04a0
commit d4a59142ad

View File

@ -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;