Commit 26d837dd authored by Javier Jardón's avatar Javier Jardón

tests/testoffscreen.c: Use accessor functions to access GtkWidget

parent 0059a30f
......@@ -383,8 +383,8 @@ main (int argc,
gtk_widget_show (redirect_win);
gtk_widget_realize (redirect_win);
gtk_widget_realize (window);
gdk_window_redirect_to_drawable (window->window,
GDK_DRAWABLE (redirect_win->window),
gdk_window_redirect_to_drawable (gtk_widget_get_window (window),
GDK_DRAWABLE (gtk_widget_get_window (redirect_win)),
0, 0, 0, 0, -1, -1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment