summaryrefslogtreecommitdiff
path: root/trashapplet
diff options
context:
space:
mode:
Diffstat (limited to 'trashapplet')
-rw-r--r--trashapplet/src/trashapplet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index f8a1bfc6..4a78623d 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -263,7 +263,7 @@ trash_applet_button_release (GtkWidget *widget,
(event->type != GDK_2BUTTON_PRESS) &&
(event->type != GDK_3BUTTON_PRESS))
{
-#ifdef GDK_WINDOWING_X11
+#if defined(GDK_WINDOWING_X11) && !defined(ENABLE_IN_PROCESS)
if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (widget)) &&
g_settings_get_boolean (settings, PANEL_ENABLE_ANIMATIONS))
xstuff_zoom_animate (widget, NULL);