changeset 1046:e34e9bdef276

reverted buggy part of rev. 1138 - it made the filelist jump unexpectedly
author nadvornik
date Tue, 09 Sep 2008 19:46:44 +0000
parents 0ab0deb0cfcc
children 81ec7d977d5f
files src/ui_tree_edit.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui_tree_edit.c	Mon Sep 08 19:57:51 2008 +0000
+++ b/src/ui_tree_edit.c	Tue Sep 09 19:46:44 2008 +0000
@@ -266,7 +266,9 @@
 	 * use x_offset instead for X scroll (sigh)
 	 */
 	gtk_tree_view_get_cell_area(widget, tpath, tv_column, &rect);
-#if GTK_CHECK_VERSION(2,12,0)
+// #if GTK_CHECK_VERSION(2,12,0)
+#if 0
+	//FIXME: these functions are not equivalent
 	gtk_tree_view_convert_bin_window_to_widget_coords(widget, 0, 0, &x_offset, &y_offset);
 #else
 	gtk_tree_view_tree_to_widget_coords(widget, 0, 0, &x_offset, &y_offset);
@@ -363,7 +365,9 @@
 	gtk_tree_path_free(tpath);
 
 
-#if GTK_CHECK_VERSION(2,12,0)
+// #if GTK_CHECK_VERSION(2,12,0)
+#if 0
+	//FIXME: these functions are not equivalent
 	gtk_tree_view_convert_bin_window_to_widget_coords(widget, crect.x, crect.y, &cx, &cy);
 #else
 	gtk_tree_view_widget_to_tree_coords(widget, crect.x, crect.y, &cx, &cy);