public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-color-manager/files: gnome-color-manager-2.32.0-libnotify-0.7.patch
@ 2011-02-05 13:31 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-02-05 13:31 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/02/05 13:31:15

  Added:                gnome-color-manager-2.32.0-libnotify-0.7.patch
  Log:
  Fix building with x11-libs/libnotify >= 0.7.
  
  (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  gnome-extra/gnome-color-manager/files/gnome-color-manager-2.32.0-libnotify-0.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-color-manager/files/gnome-color-manager-2.32.0-libnotify-0.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-color-manager/files/gnome-color-manager-2.32.0-libnotify-0.7.patch?rev=1.1&content-type=text/plain

Index: gnome-color-manager-2.32.0-libnotify-0.7.patch
===================================================================
--- src/gcm-session.c
+++ src/gcm-session.c
@@ -28,6 +28,10 @@
 #include <gconf/gconf-client.h>
 #include <libnotify/notify.h>
 
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
+
 #include "egg-debug.h"
 #include "gcm-dbus.h"
 #include "gcm-client.h"
@@ -145,7 +149,12 @@
 	NotifyNotification *notification;
 
 	/* show a bubble */
-	notification = notify_notification_new (title, message, GCM_STOCK_ICON, NULL);
+	notification = notify_notification_new (title, message, GCM_STOCK_ICON
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
+	);
+#else
+	, NULL);
+#endif
 	notify_notification_set_timeout (notification, GCM_SESSION_NOTIFY_TIMEOUT);
 	notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-color-manager/files: gnome-color-manager-2.32.0-libnotify-0.7.patch
@ 2014-11-13 11:51 Pacho Ramos (pacho)
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos (pacho) @ 2014-11-13 11:51 UTC (permalink / raw
  To: gentoo-commits

pacho       14/11/13 11:51:48

  Removed:              gnome-color-manager-2.32.0-libnotify-0.7.patch
  Log:
  Drop old (#508854)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-13 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-05 13:31 [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-color-manager/files: gnome-color-manager-2.32.0-libnotify-0.7.patch Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2014-11-13 11:51 Pacho Ramos (pacho)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox