Changeset 2861

Show
Ignore:
Timestamp:
06/17/06 19:17:56
Author:
chipx86
Message:

Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can be used in C++ applications properly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libnotify/ChangeLog

    r2854 r2861  
     1Sat Jun 17 19:17:05 PDT 2006  Christian Hammond <chipx86@chipx86.com> 
     2 
     3    * libnotify/internal.h: 
     4    * libnotify/notify.h: 
     5    * configure.ac: 
     6      - Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can 
     7        be used in C++ applications properly. 
     8 
    19========================= 0.4.1 ========================= 
    210 
  • trunk/libnotify/NEWS

    r2858 r2861  
     1version 0.4.2 (17-June-2006): 
     2    * Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can 
     3      be used in C++ applications properly. 
     4 
    15version 0.4.1 (17-June-2006): 
    26    * Added support for attaching to a GtkStatusIcon. Patch by chpe. (Bug #60) 
  • trunk/libnotify/configure.ac

    r2854 r2861  
    44dnl # Initialize autoconf 
    55dnl ################################################################ 
    6 AC_INIT(libnotify, 0.4.1, chipx86@chipx86.com) 
     6AC_INIT(libnotify, 0.4.2, chipx86@chipx86.com) 
    77AC_PREREQ(2.50) 
    88AC_CONFIG_SRCDIR(config.h.in) 
     
    1515LIBGALAGO_MAJOR_VERSION=0 
    1616LIBGALAGO_MINOR_VERSION=4 
    17 LIBGALAGO_MICRO_VERSION=1 
     17LIBGALAGO_MICRO_VERSION=2 
    1818LIBGALAGO_DEVEL_VERSION=0 
    1919 
  • trunk/libnotify/libnotify/internal.h

    r2477 r2861  
    3737#define NOTIFY_DBUS_CORE_OBJECT    "/org/freedesktop/Notifications" 
    3838 
     39G_BEGIN_DECLS 
     40 
    3941DBusGConnection *_notify_get_dbus_g_conn(void); 
    4042DBusGProxy *_notify_get_g_proxy(void); 
     
    4648    const NotifyNotification *n); 
    4749 
     50G_END_DECLS 
     51 
    4852#endif /* _LIBNOTIFY_INTERNAL_H_ */ 
  • trunk/libnotify/libnotify/notify.h

    r2777 r2861  
    2828#include <libnotify/notify-enum-types.h> 
    2929 
    30 /**************************************************************************/ 
    31 /** @name libnotify Base API                                              */ 
    32 /**************************************************************************/ 
    33 /*@{*/ 
     30G_BEGIN_DECLS 
    3431 
    3532/** 
     
    8885                                char **ret_spec_version); 
    8986 
    90 /*@}*/ 
     87G_END_DECLS 
    9188 
    9289#endif /* _LIBNOTIFY_NOTIFY_H_ */