~ubuntu-branches/ubuntu/lucid/libnotify/lucid

« back to all changes in this revision

Viewing changes to libnotify/notify.c

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2007-04-16 10:15:43 UTC
  • mfrom: (2.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20070416101543-4ugkf1fzv2mbr4kp
Tags: 0.4.4-3
* Drop GNOME team from uploaders and uploaders.mk include; add myself to
  uploaders.
* Merge never uploaded 0.4.3-3 changelog entry into 0.4.4-1.
* Set LDFLAGS directly instead of via DEB_CONFIGURE_SCRIPT_ENV; build-dep on
  cdbs >= 0.4.41.
* Add ${misc:Depends}.
* Wrap build-deps and deps.
* Prepend -z defs to LDFLAGS to be safe with --as-needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
static DBusGConnection *_dbus_gconn = NULL;
34
34
static GList *_active_notifications = NULL;
35
35
 
36
 
#ifdef __GNUC__
37
 
#  define format_func __attribute__((format(printf, 1, 2)))
38
 
#else /* no format string checking with this compiler */
39
 
#  define format_func
40
 
#endif
41
 
 
42
36
/**
43
37
 * notify_init:
44
38
 * @app_name: The name of the application initializing libnotify.
120
114
{
121
115
        GList *l;
122
116
 
 
117
        if (!_initted)
 
118
                return;
 
119
 
123
120
        if (_app_name != NULL)
124
121
        {
125
122
                g_free(_app_name);
137
134
                }
138
135
        }
139
136
 
 
137
        g_object_unref(_proxy);
 
138
 
140
139
        _initted = FALSE;
141
140
}
142
141