ports/x11/gromit-mpx/patches/patch-src_gromit-mpx_h

26 lines
608 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Remove libappindicator support.
Index: src/gromit-mpx.h
--- src/gromit-mpx.h.orig
+++ src/gromit-mpx.h
2023-08-18 18:38:43 +00:00
@@ -28,11 +28,6 @@
2023-08-16 22:26:55 +00:00
#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
2023-08-18 18:38:43 +00:00
-#ifdef APPINDICATOR_IS_LEGACY
2023-08-16 22:26:55 +00:00
-#include <libappindicator/app-indicator.h>
2023-08-18 18:38:43 +00:00
-#else
-#include <libayatana-appindicator/app-indicator.h>
-#endif
2023-08-16 22:26:55 +00:00
#define GROMIT_MOUSE_EVENTS ( GDK_BUTTON_MOTION_MASK | \
2023-08-18 18:38:43 +00:00
GDK_BUTTON_PRESS_MASK | \
@@ -102,7 +97,6 @@ typedef struct
2023-08-16 22:26:55 +00:00
typedef struct
{
GtkWidget *win;
- AppIndicator *trayicon;
GdkCursor *paint_cursor;
GdkCursor *erase_cursor;