diff options
Diffstat (limited to 'tests/testfullscreen.c')
-rw-r--r-- | tests/testfullscreen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testfullscreen.c b/tests/testfullscreen.c index 7dbfbd4fba..54b18a6ef5 100644 --- a/tests/testfullscreen.c +++ b/tests/testfullscreen.c @@ -23,20 +23,20 @@ static void set_fullscreen_monitor_cb (GtkWidget *widget, gpointer user_data) { GdkFullscreenMode mode = (GdkFullscreenMode) GPOINTER_TO_INT (user_data); - GdkWindow *window; + GdkSurface *window; window = gtk_widget_get_parent_window (widget); - gdk_window_set_fullscreen_mode (window, mode); - gdk_window_fullscreen (window); + gdk_surface_set_fullscreen_mode (window, mode); + gdk_surface_fullscreen (window); } static void remove_fullscreen_cb (GtkWidget *widget, gpointer user_data) { - GdkWindow *window; + GdkSurface *window; window = gtk_widget_get_parent_window (widget); - gdk_window_unfullscreen (window); + gdk_surface_unfullscreen (window); } int |