File evolution-tray-evo-3.10.patch of Package evolution-tray

Index: evolution-tray-0.0.8/src/tray.c
===================================================================
--- evolution-tray-0.0.8.orig/src/tray.c
+++ evolution-tray-0.0.8/src/tray.c
@@ -80,7 +80,9 @@
 #include <mail/e-mail-reader.h>
 #endif
 
+#if (EVOLUTION_VERSION < 30905)
 #include <shell/es-event.h>
+#endif
 
 #ifdef HAVE_LIBNOTIFY
 #include <libnotify/notify.h>
@@ -1332,6 +1334,7 @@ org_gnome_evolution_tray_startup(
 		void *ep,
 		EMPopupTargetSelect *t)
 #else
+#if (EVOLUTION_VERSION < 30905)
 void
 org_gnome_evolution_tray_startup(
 		void *ep,
@@ -1341,6 +1344,17 @@ void
 org_gnome_evolution_tray_startup(
 		void *ep,
 		ESEventTargetUpgrade *t)
+#else
+
+me_evolution_tray_startup(
+                void *ep,
+                void *t);
+
+void
+org_gnome_evolution_tray_startup(
+                void *ep,
+                void *t)
+#endif
 #endif
 {
 	g_print("Evolution-tray plugin enabled.\n");
openSUSE Build Service is sponsored by