diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
commit | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch) | |
tree | ade247e1b6c47fbd7362273f59d3ae4f955587a7 /extra/gnome-screensaver | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'extra/gnome-screensaver')
-rw-r--r-- | extra/gnome-screensaver/gnome-screensaver-2.30.2-libnotify-0.7.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/extra/gnome-screensaver/gnome-screensaver-2.30.2-libnotify-0.7.patch b/extra/gnome-screensaver/gnome-screensaver-2.30.2-libnotify-0.7.patch deleted file mode 100644 index 6eeb16819..000000000 --- a/extra/gnome-screensaver/gnome-screensaver-2.30.2-libnotify-0.7.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Nur gnome-screensaver-2.30.2.orig/src/gs-lock-plug.c gnome-screensaver-2.30.2/src/gs-lock-plug.c ---- gnome-screensaver-2.30.2.orig/src/gs-lock-plug.c 2010-09-28 13:36:51.000000000 -0700 -+++ gnome-screensaver-2.30.2/src/gs-lock-plug.c 2011-03-07 00:54:44.086669840 -0800 -@@ -47,6 +47,10 @@ - #include <libnotify/notify.h> - #endif - -+#ifndef NOTIFY_CHECK_VERSION -+#define NOTIFY_CHECK_VERSION(x,y,z) 0 -+#endif -+ - #include "gs-lock-plug.h" - - #include "gs-debug.h" -@@ -1090,7 +1094,11 @@ - strftime (summary, 128, "%X", tmp); - - notify_init ("gnome-screensaver-dialog"); -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ note = notify_notification_new (summary, escaped_text, NULL); -+#else - note = notify_notification_new (summary, escaped_text, NULL, NULL); -+#endif - notify_notification_set_timeout (note, NOTIFY_EXPIRES_NEVER); - notify_notification_show (note, NULL); - g_object_unref (note); |