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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user