diff options
author | Kristian Rietveld <kris@imendio.com> | 2007-02-06 13:13:19 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2007-02-06 13:13:19 +0000 |
commit | af7f77d97b2e40f7b1c3396bc1365bc5fd860e8f (patch) | |
tree | 3ae64135646f91e9157636cc10fed3963897c2bf /gtk/gtktooltip.c | |
parent | 3c65aade6f8cc5cddc9c455cce7143453e3ec583 (diff) | |
download | gtk+-af7f77d97b2e40f7b1c3396bc1365bc5fd860e8f.tar.gz |
remove unused get of has_tooltip.
2007-02-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
remove unused get of has_tooltip.
* tests/testtooltips.c (query_tooltip_tree_view_cb): use the
portable g_snprintf instead of snprintf.
svn path=/trunk/; revision=17266
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 17c3f242d9..047cdd877f 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -500,7 +500,6 @@ find_topmost_widget_coords_from_event (GdkEvent *event, gdouble dx, dy; GtkWidget *tmp; GtkWidget *orig; - gboolean has_tooltip; gdk_event_get_coords (event, &dx, &dy); tx = dx; @@ -508,8 +507,6 @@ find_topmost_widget_coords_from_event (GdkEvent *event, orig = tmp = find_widget_under_pointer (event->any.window, &tx, &ty); - g_object_get (tmp, "has-tooltip", &has_tooltip, NULL); - if (tmp && (x != NULL || y != NULL)) { if (tmp != orig) |