[Galago-commits] r2861 - in trunk/libnotify: . libnotify

galago-commits at freedesktop.org galago-commits at freedesktop.org
Sat Jun 17 19:18:00 PDT 2006


Author: chipx86
Date: 2006-06-17 19:17:56 -0700 (Sat, 17 Jun 2006)
New Revision: 2861

Modified:
   trunk/libnotify/ChangeLog
   trunk/libnotify/NEWS
   trunk/libnotify/configure.ac
   trunk/libnotify/libnotify/internal.h
   trunk/libnotify/libnotify/notify.h
Log:
Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can be used in C++ applications properly.


Modified: trunk/libnotify/ChangeLog
===================================================================
--- trunk/libnotify/ChangeLog	2006-06-18 01:29:02 UTC (rev 2860)
+++ trunk/libnotify/ChangeLog	2006-06-18 02:17:56 UTC (rev 2861)
@@ -1,3 +1,11 @@
+Sat Jun 17 19:17:05 PDT 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* libnotify/internal.h:
+	* libnotify/notify.h:
+	* configure.ac:
+	  - Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can
+	    be used in C++ applications properly.
+
 ========================= 0.4.1 =========================
 
 Sat Jun 17 18:17:28 PDT 2006  Christian Hammond <chipx86 at chipx86.com>

Modified: trunk/libnotify/NEWS
===================================================================
--- trunk/libnotify/NEWS	2006-06-18 01:29:02 UTC (rev 2860)
+++ trunk/libnotify/NEWS	2006-06-18 02:17:56 UTC (rev 2861)
@@ -1,3 +1,7 @@
+version 0.4.2 (17-June-2006):
+	* Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can
+	  be used in C++ applications properly.
+
 version 0.4.1 (17-June-2006):
 	* Added support for attaching to a GtkStatusIcon. Patch by chpe. (Bug #60)
 	* Added GObject properties to NotifyNotification. Patch by chpe. (Bug #60)

Modified: trunk/libnotify/configure.ac
===================================================================
--- trunk/libnotify/configure.ac	2006-06-18 01:29:02 UTC (rev 2860)
+++ trunk/libnotify/configure.ac	2006-06-18 02:17:56 UTC (rev 2861)
@@ -3,7 +3,7 @@
 dnl ################################################################
 dnl # Initialize autoconf
 dnl ################################################################
-AC_INIT(libnotify, 0.4.1, chipx86 at chipx86.com)
+AC_INIT(libnotify, 0.4.2, chipx86 at chipx86.com)
 AC_PREREQ(2.50)
 AC_CONFIG_SRCDIR(config.h.in)
 AC_COPYRIGHT([Copyright 2004-2006 Christian Hammond])
@@ -14,7 +14,7 @@
 dnl ################################################################
 LIBGALAGO_MAJOR_VERSION=0
 LIBGALAGO_MINOR_VERSION=4
-LIBGALAGO_MICRO_VERSION=1
+LIBGALAGO_MICRO_VERSION=2
 LIBGALAGO_DEVEL_VERSION=0
 
 LIBGALAGO_VERSION=$LIBGALAGO_MAJOR_VERSION.$LIBGALAGO_MINOR_VERSION.$LIBGALAGO_MICRO_VERSION

Modified: trunk/libnotify/libnotify/internal.h
===================================================================
--- trunk/libnotify/libnotify/internal.h	2006-06-18 01:29:02 UTC (rev 2860)
+++ trunk/libnotify/libnotify/internal.h	2006-06-18 02:17:56 UTC (rev 2861)
@@ -36,6 +36,8 @@
 #define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications"
 #define NOTIFY_DBUS_CORE_OBJECT    "/org/freedesktop/Notifications"
 
+G_BEGIN_DECLS
+
 DBusGConnection *_notify_get_dbus_g_conn(void);
 DBusGProxy *_notify_get_g_proxy(void);
 
@@ -45,4 +47,6 @@
 gboolean _notify_notification_has_nondefault_actions(
 	const NotifyNotification *n);
 
+G_END_DECLS
+
 #endif /* _LIBNOTIFY_INTERNAL_H_ */

Modified: trunk/libnotify/libnotify/notify.h
===================================================================
--- trunk/libnotify/libnotify/notify.h	2006-06-18 01:29:02 UTC (rev 2860)
+++ trunk/libnotify/libnotify/notify.h	2006-06-18 02:17:56 UTC (rev 2861)
@@ -27,10 +27,7 @@
 #include <libnotify/notification.h>
 #include <libnotify/notify-enum-types.h>
 
-/**************************************************************************/
-/** @name libnotify Base API                                              */
-/**************************************************************************/
-/*@{*/
+G_BEGIN_DECLS
 
 /**
  * Initializes the notifications library.
@@ -87,6 +84,6 @@
 								char **ret_version,
 								char **ret_spec_version);
 
-/*@}*/
+G_END_DECLS
 
 #endif /* _LIBNOTIFY_NOTIFY_H_ */



More information about the galago-commits mailing list