summaryrefslogtreecommitdiff
path: root/tests/testtooltips.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2007-02-06 13:13:19 +0000
committerKristian Rietveld <kristian@src.gnome.org>2007-02-06 13:13:19 +0000
commitaf7f77d97b2e40f7b1c3396bc1365bc5fd860e8f (patch)
tree3ae64135646f91e9157636cc10fed3963897c2bf /tests/testtooltips.c
parent3c65aade6f8cc5cddc9c455cce7143453e3ec583 (diff)
downloadgtk+-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 'tests/testtooltips.c')
-rw-r--r--tests/testtooltips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index 8def5111b7..f0a062e763 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.c
@@ -115,7 +115,7 @@ query_tooltip_tree_view_cb (GtkWidget *widget,
gtk_tree_model_get (model, &iter, 0, &tmp, -1);
pathstring = gtk_tree_path_to_string (path);
- snprintf (buffer, 511, "<b>Path %s:</b> %s", pathstring, tmp);
+ g_snprintf (buffer, 511, "<b>Path %s:</b> %s", pathstring, tmp);
gtk_tooltip_set_markup (tooltip, buffer);
gtk_tree_path_free (path);