Revision: 1242
http://geeqie.svn.sourceforge.net/geeqie/?rev=1242&view=rev
Author: nadvornik
Date: 2008-11-15 19:13:43 +0000 (Sat, 15 Nov 2008)
Log Message:
-----------
fixed usage of deprecated functions - patch by Omari Stephens
Modified Paths:
--------------
trunk/src/ui_tree_edit.c
Modified: trunk/src/ui_tree_edit.c
===================================================================
--- trunk/src/ui_tree_edit.c 2008-11-15 17:48:31 UTC (rev 1241)
+++ trunk/src/ui_tree_edit.c 2008-11-15 19:13:43 UTC (rev 1242)
@@ -266,10 +266,8 @@
* 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 0
- //FIXME: these functions are not equivalent
- gtk_tree_view_convert_bin_window_to_widget_coords(widget, 0, 0,
&x_offset, &y_offset);
+#if GTK_CHECK_VERSION(2,12,0)
+ gtk_tree_view_convert_tree_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);
#endif
@@ -365,10 +363,8 @@
gtk_tree_path_free(tpath);
-// #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);
+#if GTK_CHECK_VERSION(2,12,0)
+ gtk_tree_view_convert_widget_to_tree_coords(widget, crect.x, crect.y,
&cx, &cy);
#else
gtk_tree_view_widget_to_tree_coords(widget, crect.x, crect.y, &cx, &cy);
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn