summaryrefslogtreecommitdiff
path: root/tests/testtooltips.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-07-23 18:45:36 +0000
committerChristian Persch <chpe@src.gnome.org>2007-07-23 18:45:36 +0000
commitd40531635e93359202ba7818d84550141b9feb9d (patch)
tree044c75cbed9e4cbd0f5796046d638eb1d97614da /tests/testtooltips.c
parentdfe78525861d3dd2a9564574ee76ca762dd5ccee (diff)
downloadgtk+-d40531635e93359202ba7818d84550141b9feb9d.tar.gz
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
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r--tests/testtooltips.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index 7aa8f59c70..2040e7a8c2 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.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))