Drop internal uses of gtk_widget_get_root_window

This function is just a one-line convenience function that
is about to be deprecated.
This commit is contained in:
Matthias Clasen
2014-01-24 20:13:01 -05:00
parent 6fd7e547c5
commit e1d9974537
7 changed files with 19 additions and 14 deletions

View File

@ -241,7 +241,7 @@ gtk_invisible_realize (GtkWidget *widget)
parent = gtk_widget_get_parent_window (widget);
if (parent == NULL)
parent = gtk_widget_get_root_window (widget);
parent = gdk_screen_get_root_window (gtk_widget_get_screen (widget));
attributes.x = -100;
attributes.y = -100;