Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can be used in C++ applications properly.
This commit is contained in:
parent
87098904da
commit
e447e0e186
|
@ -1,3 +1,11 @@
|
||||||
|
Sat Jun 17 19:17:05 PDT 2006 Christian Hammond <chipx86@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 =========================
|
========================= 0.4.1 =========================
|
||||||
|
|
||||||
Sat Jun 17 18:17:28 PDT 2006 Christian Hammond <chipx86@chipx86.com>
|
Sat Jun 17 18:17:28 PDT 2006 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
4
NEWS
4
NEWS
|
@ -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):
|
version 0.4.1 (17-June-2006):
|
||||||
* Added support for attaching to a GtkStatusIcon. Patch by chpe. (Bug #60)
|
* Added support for attaching to a GtkStatusIcon. Patch by chpe. (Bug #60)
|
||||||
* Added GObject properties to NotifyNotification. Patch by chpe. (Bug #60)
|
* Added GObject properties to NotifyNotification. Patch by chpe. (Bug #60)
|
||||||
|
|
|
@ -3,7 +3,7 @@ dnl Process this file with autoconf to create configure.
|
||||||
dnl ################################################################
|
dnl ################################################################
|
||||||
dnl # Initialize autoconf
|
dnl # Initialize autoconf
|
||||||
dnl ################################################################
|
dnl ################################################################
|
||||||
AC_INIT(libnotify, 0.4.1, chipx86@chipx86.com)
|
AC_INIT(libnotify, 0.4.2, chipx86@chipx86.com)
|
||||||
AC_PREREQ(2.50)
|
AC_PREREQ(2.50)
|
||||||
AC_CONFIG_SRCDIR(config.h.in)
|
AC_CONFIG_SRCDIR(config.h.in)
|
||||||
AC_COPYRIGHT([Copyright 2004-2006 Christian Hammond])
|
AC_COPYRIGHT([Copyright 2004-2006 Christian Hammond])
|
||||||
|
@ -14,7 +14,7 @@ dnl # Version information
|
||||||
dnl ################################################################
|
dnl ################################################################
|
||||||
LIBGALAGO_MAJOR_VERSION=0
|
LIBGALAGO_MAJOR_VERSION=0
|
||||||
LIBGALAGO_MINOR_VERSION=4
|
LIBGALAGO_MINOR_VERSION=4
|
||||||
LIBGALAGO_MICRO_VERSION=1
|
LIBGALAGO_MICRO_VERSION=2
|
||||||
LIBGALAGO_DEVEL_VERSION=0
|
LIBGALAGO_DEVEL_VERSION=0
|
||||||
|
|
||||||
LIBGALAGO_VERSION=$LIBGALAGO_MAJOR_VERSION.$LIBGALAGO_MINOR_VERSION.$LIBGALAGO_MICRO_VERSION
|
LIBGALAGO_VERSION=$LIBGALAGO_MAJOR_VERSION.$LIBGALAGO_MINOR_VERSION.$LIBGALAGO_MICRO_VERSION
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
#define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications"
|
#define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications"
|
||||||
#define NOTIFY_DBUS_CORE_OBJECT "/org/freedesktop/Notifications"
|
#define NOTIFY_DBUS_CORE_OBJECT "/org/freedesktop/Notifications"
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
DBusGConnection *_notify_get_dbus_g_conn(void);
|
DBusGConnection *_notify_get_dbus_g_conn(void);
|
||||||
DBusGProxy *_notify_get_g_proxy(void);
|
DBusGProxy *_notify_get_g_proxy(void);
|
||||||
|
|
||||||
|
@ -45,4 +47,6 @@ gint _notify_notification_get_timeout(const NotifyNotification *n);
|
||||||
gboolean _notify_notification_has_nondefault_actions(
|
gboolean _notify_notification_has_nondefault_actions(
|
||||||
const NotifyNotification *n);
|
const NotifyNotification *n);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _LIBNOTIFY_INTERNAL_H_ */
|
#endif /* _LIBNOTIFY_INTERNAL_H_ */
|
||||||
|
|
|
@ -27,10 +27,7 @@
|
||||||
#include <libnotify/notification.h>
|
#include <libnotify/notification.h>
|
||||||
#include <libnotify/notify-enum-types.h>
|
#include <libnotify/notify-enum-types.h>
|
||||||
|
|
||||||
/**************************************************************************/
|
G_BEGIN_DECLS
|
||||||
/** @name libnotify Base API */
|
|
||||||
/**************************************************************************/
|
|
||||||
/*@{*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the notifications library.
|
* Initializes the notifications library.
|
||||||
|
@ -87,6 +84,6 @@ gboolean notify_get_server_info(char **ret_name,
|
||||||
char **ret_version,
|
char **ret_version,
|
||||||
char **ret_spec_version);
|
char **ret_spec_version);
|
||||||
|
|
||||||
/*@}*/
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _LIBNOTIFY_NOTIFY_H_ */
|
#endif /* _LIBNOTIFY_NOTIFY_H_ */
|
||||||
|
|
Loading…
Reference in New Issue