[tasks/gnome3: 8/17] Remove gtk_widget_set_has_tooltip check



commit e5091b5e55dcd260f55087ab5244d8286f36cf8b
Author: Ross Burton <ross linux intel com>
Date:   Wed Apr 27 19:36:31 2011 +0100

    Remove gtk_widget_set_has_tooltip check

 configure.ac             |    4 ----
 libkoto/koto-task-view.c |    4 ----
 2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 275b689..13849f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,10 +72,6 @@ CFLAGS=$GTK_CFLAGS
 AC_CHECK_DECLS([GDK_WINDOW_TYPE_HINT_COMBO, gtk_style_lookup_color],
                [], [], [#include <gtk/gtk.h>])
 
-# This was introduced in GTK+ 2.12
-AC_CHECK_DECLS([gtk_widget_set_has_tooltip],
-               [], [], [#include <gtk/gtk.h>])
-
 # This was introduced in GTK+ 2.14
 AC_CHECK_DECLS([gtk_show_uri],
                [], [], [#include <gtk/gtk.h>])
diff --git a/libkoto/koto-task-view.c b/libkoto/koto-task-view.c
index 41202ef..6057348 100644
--- a/libkoto/koto-task-view.c
+++ b/libkoto/koto-task-view.c
@@ -263,7 +263,6 @@ on_note_activated (KotoCellRendererPixbuf *cell, const char *path, GtkTreeView *
   }
 }
 
-#if HAVE_DECL_GTK_WIDGET_SET_HAS_TOOLTIP
 static gboolean
 on_query_tooltip (GtkWidget *widget,
                   int x, int y,
@@ -298,7 +297,6 @@ on_query_tooltip (GtkWidget *widget,
 
   return ret;
 }
-#endif
 
 /*
  * Object methods.
@@ -509,10 +507,8 @@ koto_task_view_init (KotoTaskView *self)
 
   gtk_tree_view_append_column (treeview, column);
 
-#if HAVE_DECL_GTK_WIDGET_SET_HAS_TOOLTIP
   gtk_widget_set_has_tooltip (GTK_WIDGET (treeview), TRUE);
   g_signal_connect (treeview, "query-tooltip", G_CALLBACK (on_query_tooltip), NULL);
-#endif
 }
 
 



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