Commit d4053163 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

Remove obsolete code. Bug #459566.

2007-07-23  Christian Persch  <chpe@gnome.org>

	* tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
	code. Bug #459566.

svn path=/trunk/; revision=18531
parent dfe78525
2007-07-23 Christian Persch <chpe@gnome.org>
* tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
code. Bug #459566.
2007-07-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c:
......
......@@ -107,27 +107,6 @@ query_tooltip_tree_view_cb (GtkWidget *widget,
char buffer[512];
if (keyboard_tip)
{
/* Keyboard mode */
gtk_tree_view_get_cursor (tree_view, &path, NULL);
if (!path)
return FALSE;
}
else
{
gint bin_x, bin_y;
gtk_tree_view_convert_widget_to_bin_window_coords (tree_view, x, y,
&bin_x, &bin_y);
/* Mouse mode */
if (!gtk_tree_view_get_path_at_pos (tree_view, bin_x, bin_y,
&path, NULL, NULL, NULL))
return FALSE;
}
if (!gtk_tree_view_get_tooltip_context (tree_view, &x, &y,
keyboard_tip,
&model, &path, &iter))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment