[tasks] Remove gtk_widget_set_has_tooltip check
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasks] Remove gtk_widget_set_has_tooltip check
- Date: Thu, 23 Feb 2012 13:37:15 +0000 (UTC)
commit 6a98a66da6726bf4b00ede8c4d95bb47a4a0b2e1
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 988b2a3..ba074d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,10 +59,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]