[gtkglext] Remove check for gdk_x11_colormap_foreign_new; this function has been available since GDK 2.2 and we



commit deb280bee1cd6b9bf959bbc99100c3ecf01527e4
Author: Braden McDaniel <braden bolt endoframe net>
Date:   Wed Dec 16 21:04:57 2009 -0500

    Remove check for gdk_x11_colormap_foreign_new; this function has been available since GDK 2.2 and we now require at least 2.8.

 configure.ac              |   14 --------------
 gdk/x11/gdkglconfig-x11.c |    4 ----
 2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4294025..554ce76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -329,20 +329,6 @@ AM_CONDITIONAL([MULTIHEAD_SUPPORT],
 
 
 ##################################################
-# Checks for GDK functions
-##################################################
-
-save_LIBS="$LIBS"
-LIBS="$LIBS $GDK_LIBS"
-
-if test "x$gdktarget" = "xx11"; then
-  AC_CHECK_FUNCS([gdk_x11_colormap_foreign_new])
-fi
-
-LIBS="$save_LIBS"
-
-
-##################################################
 # Checks for Window System
 ##################################################
 
diff --git a/gdk/x11/gdkglconfig-x11.c b/gdk/x11/gdkglconfig-x11.c
index b7a71eb..6707f27 100644
--- a/gdk/x11/gdkglconfig-x11.c
+++ b/gdk/x11/gdkglconfig-x11.c
@@ -105,8 +105,6 @@ gdk_gl_config_impl_x11_finalize (GObject *object)
  * Get standard RGB colormap
  */
 
-#ifdef HAVE_GDK_X11_COLORMAP_FOREIGN_NEW
-
 static GdkColormap *
 gdk_gl_config_get_std_rgb_colormap (GdkScreen   *screen,
                                     XVisualInfo *xvinfo,
@@ -235,8 +233,6 @@ gdk_gl_config_get_std_rgb_colormap (GdkScreen   *screen,
   return NULL;
 }
 
-#endif /* HAVE_GDK_X11_COLORMAP_FOREIGN_NEW */
-
 /* 
  * Setup colormap.
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]