summaryrefslogtreecommitdiff
path: root/trashapplet/src/trashapplet.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-08-13 01:24:15 -0400
committerLuke from DC <[email protected]>2023-08-13 15:24:17 +0000
commitc5db667f66d4918375eabe2b0ed3c5da9532fc2d (patch)
tree804c2d2d898ce13ef76cf865b88e7eb0f84e85ce /trashapplet/src/trashapplet.c
parent6215b0063812740d812c949298ec55faf58bbdf2 (diff)
downloadmate-applets-c5db667f66d4918375eabe2b0ed3c5da9532fc2d.tar.bz2
mate-applets-c5db667f66d4918375eabe2b0ed3c5da9532fc2d.tar.xz
trash, in-process: fix segfault with glib2.77.1
*the animation on this applet isn't visible anyway even out of process where it still runs
Diffstat (limited to 'trashapplet/src/trashapplet.c')
-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);