[notification-daemon] Use a define for the spec version



commit 1cb55eac099a4dab029d4885c9921dcf069d6da1
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Jan 17 17:04:46 2011 -0500

    Use a define for the spec version

 src/daemon.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/daemon.c b/src/daemon.c
index e7306c2..ee8460f 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -50,6 +50,8 @@
 #define NOTIFICATION_BUS_NAME      "org.freedesktop.Notifications"
 #define NOTIFICATION_BUS_PATH      "/org/freedesktop/Notifications"
 
+#define NOTIFICATION_SPEC_VERSION  "1.2"
+
 #define NW_GET_DAEMON(nw) \
         (g_object_get_data(G_OBJECT(nw), "_notify_daemon"))
 
@@ -335,7 +337,7 @@ handle_get_server_information (NotifyDaemon          *daemon,
                                                               "Notification Daemon",
                                                               "GNOME",
                                                               PACKAGE_VERSION,
-                                                              "1.2"));
+                                                              NOTIFICATION_SPEC_VERSION));
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]