[tasks/gnome3: 13/14] Remove GDK_WINDOW_TYPE_HINT_COMBO check
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasks/gnome3: 13/14] Remove GDK_WINDOW_TYPE_HINT_COMBO check
- Date: Wed, 27 Apr 2011 18:44:54 +0000 (UTC)
commit ebcb9930c91dee60788305571f28ee98b3c6f1bd
Author: Ross Burton <ross linux intel com>
Date: Wed Apr 27 19:40:51 2011 +0100
Remove GDK_WINDOW_TYPE_HINT_COMBO check
configure.ac | 12 ------------
libkoto/koto-date-combo.c | 2 --
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 251afa5..3133f98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,18 +62,6 @@ AS_IF([test "x$with_unique" = "xyes"], [
])
AM_CONDITIONAL(WITH_UNIQUE, test "$with_unique" = "xyes")
-#
-# Find out what functionality the libraries support
-#
-old_cflags=$CFLAGS
-CFLAGS=$GTK_CFLAGS
-
-# This was introduced in GTK+ 2.10
-AC_CHECK_DECLS([GDK_WINDOW_TYPE_HINT_COMBO],
- [], [], [#include <gtk/gtk.h>])
-
-CFLAGS=$old_cflags
-
AC_OUTPUT([
Makefile
data/Makefile
diff --git a/libkoto/koto-date-combo.c b/libkoto/koto-date-combo.c
index e9aa1e5..057b975 100644
--- a/libkoto/koto-date-combo.c
+++ b/libkoto/koto-date-combo.c
@@ -416,9 +416,7 @@ koto_date_combo_init (KotoDateCombo *self)
priv->popup = gtk_window_new (GTK_WINDOW_POPUP);
g_signal_connect (priv->popup, "button-release-event", G_CALLBACK (on_button_release), self);
gtk_window_set_resizable (GTK_WINDOW (priv->popup), FALSE);
-#if HAVE_DECL_GDK_WINDOW_TYPE_HINT_COMBO
gtk_window_set_type_hint (GTK_WINDOW (priv->popup), GDK_WINDOW_TYPE_HINT_COMBO);
-#endif
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]