diff options
author | lukefromdc <[email protected]> | 2023-08-13 19:58:33 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-08-14 22:47:56 +0200 |
commit | 892cd5807403db6a7f30e60bf9221d37d802daea (patch) | |
tree | 9ab538c8d6e5fdad7de77ab70a9df9f6f1d3ed85 /trashapplet/src/trashapplet.c | |
parent | c5db667f66d4918375eabe2b0ed3c5da9532fc2d (diff) | |
download | mate-applets-892cd5807403db6a7f30e60bf9221d37d802daea.tar.bz2 mate-applets-892cd5807403db6a7f30e60bf9221d37d802daea.tar.xz |
trashapplet: Remove animation that hasn't worked in years
*The trash applet hasn't had working animation in many years
*xstuff_zoom_animate also appears in mate-panel with 4 arguments instead of 2.
*conflicting function names caused a segfault when built in-process
Diffstat (limited to 'trashapplet/src/trashapplet.c')
-rw-r--r-- | trashapplet/src/trashapplet.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c index 4a78623d..e4f2966b 100644 --- a/trashapplet/src/trashapplet.c +++ b/trashapplet/src/trashapplet.c @@ -35,7 +35,6 @@ #include <mate-panel-applet.h> #include "trash-empty.h" -#include "xstuff.h" #define TRASH_TYPE_APPLET (trash_applet_get_type ()) @@ -263,14 +262,7 @@ trash_applet_button_release (GtkWidget *widget, (event->type != GDK_2BUTTON_PRESS) && (event->type != GDK_3BUTTON_PRESS)) { -#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); -#endif - trash_applet_open_folder (NULL, applet); - return TRUE; } |