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
This commit is contained in:
Kristian Rietveld
2007-02-06 13:13:19 +00:00
committed by Kristian Rietveld
parent 3c65aade6f
commit af7f77d97b
3 changed files with 9 additions and 4 deletions

View File

@ -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);