Revision: 1673 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1673&view=re... Author: dimitrov-adrian Date: 2010-10-17 16:56:45 +0000 (Sun, 17 Oct 2010)
Log Message: ----------- treebrowser: correct GTK version check
Modified Paths: -------------- trunk/geany-plugins/treebrowser/src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c =================================================================== --- trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-10-17 16:41:46 UTC (rev 1672) +++ trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-10-17 16:56:45 UTC (rev 1673) @@ -185,7 +185,7 @@ static GdkPixbuf * utils_pixbuf_from_path(gchar *path) { -#if defined(HAVE_GIO) && GLIB_CHECK_VERSION(2, 14, 0) +#if defined(HAVE_GIO) && GTK_CHECK_VERSION(2, 14, 0) GIcon *icon; GdkPixbuf *ret = NULL; GtkIconInfo *info; @@ -1426,8 +1426,9 @@
ui_widget_modify_font_from_string(view, geany->interface_prefs->tagbar_font);
- if (gtk_check_version(2, 12, 0) == NULL) +#if GTK_CHECK_VERSION(2, 10, 0) g_object_set(view, "has-tooltip", TRUE, "tooltip-column", TREEBROWSER_COLUMN_URI, NULL); +#endif
gtk_tree_selection_set_mode(gtk_tree_view_get_selection(GTK_TREE_VIEW(view)), GTK_SELECTION_SINGLE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org