diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-17 10:37:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-17 10:51:55 -0500 |
commit | 8ced2c64783c30ee127100909e6abc3ff1d03cb1 (patch) | |
tree | de017371f113de960bdb613c91b53439cc22be3e /gdk/x11/gdkglcontext-x11.c | |
parent | 2daa7d1a53ad26e9b39e1b9fd83156bea45c4a58 (diff) | |
download | gtk+-8ced2c64783c30ee127100909e6abc3ff1d03cb1.tar.gz |
x11: Stop using GdkScreen altogether
Derive GdkX11Screen directly from GObject, and
remove the last remaining uses of GdkScreen.
Diffstat (limited to 'gdk/x11/gdkglcontext-x11.c')
-rw-r--r-- | gdk/x11/gdkglcontext-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c index 40127cd255..871c8129f9 100644 --- a/gdk/x11/gdkglcontext-x11.c +++ b/gdk/x11/gdkglcontext-x11.c @@ -783,7 +783,7 @@ gdk_x11_gl_context_init (GdkX11GLContext *self) } gboolean -gdk_x11_screen_init_gl (GdkScreen *screen) +gdk_x11_screen_init_gl (GdkX11Screen *screen) { GdkDisplay *display = GDK_SCREEN_DISPLAY (screen); GdkX11Display *display_x11 = GDK_X11_DISPLAY (display); @@ -805,7 +805,7 @@ gdk_x11_screen_init_gl (GdkScreen *screen) if (!glXQueryExtension (dpy, &error_base, &event_base)) return FALSE; - screen_num = GDK_X11_SCREEN (screen)->screen_num; + screen_num = screen->screen_num; display_x11->have_glx = TRUE; |