summaryrefslogtreecommitdiff
path: root/thunar/thunar-abstract-icon-view.c
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-08-21 17:47:20 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-08-21 17:47:20 +0200
commit1f5eed407c762bf7ca118e377f91c6cb1e63eb31 (patch)
treed0c1b60db807e336b28ccaf8edc6d2bfeff68e76 /thunar/thunar-abstract-icon-view.c
parent116819a0d9f258df20c76cd336723628a3b5798b (diff)
downloadthunar-1f5eed407c762bf7ca118e377f91c6cb1e63eb31.tar.gz
Merge the migration-to-gio branch into master.
I'm 100% sure I can implement all ThunarVFS thumbnailers on top of tumbler in time for the Xfce 4.8 release. Same about the volume monitor backend for GIO to avoid a GVfs dependency. So why not merge the GIO branch now? Not much to say about this merge. It replaces ThunarVFS with GIO inside Thunar and Thunarx, something I've been working on over the past few months. It currently requires GVfs for volume monitoring and also (optionally) depends on tumbler for thumbnail generation. Enjoy. All .po files are going to be updated in the next commit. Conflicts: ChangeLog INSTALL acinclude.m4 configure.in.in plugins/thunar-wallpaper/twp-provider.c po-doc/ChangeLog po/ChangeLog po/LINGUAS thunar-vfs/thunar-vfs-1.pc.in thunar-vfs/thunar-vfs-thumb.c thunar/thunar-templates-action.c
Diffstat (limited to 'thunar/thunar-abstract-icon-view.c')
-rw-r--r--thunar/thunar-abstract-icon-view.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/thunar/thunar-abstract-icon-view.c b/thunar/thunar-abstract-icon-view.c
index 62e96ab0..7c423759 100644
--- a/thunar/thunar-abstract-icon-view.c
+++ b/thunar/thunar-abstract-icon-view.c
@@ -642,10 +642,8 @@ thunar_abstract_icon_view_expose_event (ExoIconView *view,
GtkAction *action = NULL;
GdkPixbuf *stock_icon = NULL;
gchar *stock_id;
-#if GTK_CHECK_VERSION(2,7,1)
GdkColor bg;
cairo_t *cr;
-#endif
_thunar_return_val_if_fail (EXO_IS_ICON_VIEW (view), FALSE);
_thunar_return_val_if_fail (THUNAR_IS_ABSTRACT_ICON_VIEW (abstract_icon_view), FALSE);
@@ -654,7 +652,6 @@ thunar_abstract_icon_view_expose_event (ExoIconView *view,
_thunar_return_val_if_fail (abstract_icon_view->priv->gesture_release_id > 0, FALSE);
/* shade the abstract_icon view content while performing mouse gestures */
-#if GTK_CHECK_VERSION(2,7,1)
cr = gdk_cairo_create (event->window);
bg = GTK_WIDGET (view)->style->base[GTK_STATE_NORMAL];
cairo_set_source_rgba (cr, bg.red / 65535.0, bg.green / 65535.0, bg.blue / 65535.0, 0.7);
@@ -662,7 +659,6 @@ thunar_abstract_icon_view_expose_event (ExoIconView *view,
cairo_clip (cr);
cairo_paint (cr);
cairo_destroy (cr);
-#endif
/* determine the gesture action */
action = thunar_abstract_icon_view_gesture_action (abstract_icon_view);