[gtk+] win32: Make gdk_win32_display_get_root_window available
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32: Make gdk_win32_display_get_root_window available
- Date: Mon, 6 Nov 2017 02:46:10 +0000 (UTC)
commit be759844851409606cdef22f5f078cc98c10cc12
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 5 20:45:49 2017 -0500
win32: Make gdk_win32_display_get_root_window available
This will be used to replace the equivalent frontend api,
which is going away.
gdk/win32/gdkdisplay-win32.c | 2 +-
gdk/win32/gdkprivate-win32.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index 9f13f18..5a34e7d 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 57b8142..47e5759 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]