From c5db667f66d4918375eabe2b0ed3c5da9532fc2d Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sun, 13 Aug 2023 01:24:15 -0400 Subject: 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 --- trashapplet/src/trashapplet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1