diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c index 9f13f18a14..5a34e7d7fb 100644 --- a/gdk/win32/gdkdisplay-win32.c +++ b/gdk/win32/gdkdisplay-win32.c @@ -1225,7 +1225,7 @@ gdk_win32_display_get_setting (GdkDisplay *display, value); } -static GdkWindow * +GdkWindow * gdk_win32_display_get_root_window (GdkDisplay *display) { return gdk_win32_screen_get_root_window (GDK_WIN32_DISPLAY (display)->screen); diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h index 57b814254f..47e5759c93 100644 --- a/gdk/win32/gdkprivate-win32.h +++ b/gdk/win32/gdkprivate-win32.h @@ -496,6 +496,7 @@ void _gdk_win32_window_delete_property (GdkWindow *window, GdkAtom property); gboolean _gdk_win32_screen_get_setting (GdkScreen *screen, const gchar *name, GValue *value); void _gdk_win32_screen_on_displaychange_event (GdkWin32Screen *screen); GdkWindow *gdk_win32_screen_get_root_window (GdkScreen *screen); +GdkWindow *gdk_win32_display_get_root_window (GdkDisplay *display); /* Distributed display manager implementation */ GdkDisplay *_gdk_win32_display_open (const gchar *display_name);