[gtkglarea] gtkgl/gdkgl.c: Replace deprecated gdkx_visual_get() function
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkglarea] gtkgl/gdkgl.c: Replace deprecated gdkx_visual_get() function
- Date: Thu, 20 Mar 2014 12:03:30 +0000 (UTC)
commit ad5fcf7a6732cf7ff54c9a368e6061e29937c841
Author: Javier Jardón <jjardon gnome org>
Date: Thu Mar 20 02:00:53 2014 +0000
gtkgl/gdkgl.c: Replace deprecated gdkx_visual_get() function
gtkgl/gdkgl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtkgl/gdkgl.c b/gtkgl/gdkgl.c
index 3596d0a..da2c8d7 100644
--- a/gtkgl/gdkgl.c
+++ b/gtkgl/gdkgl.c
@@ -153,7 +153,8 @@ GdkVisual *gdk_gl_choose_visual(int *attrlist)
if (!vi)
return NULL;
- visual = gdkx_visual_get(vi->visualid);
+ visual = gdk_x11_screen_lookup_visual (gdk_screen_get_default (),
+ vi->visualid);
XFree(vi);
return visual;
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]