Logo Search packages:      
Sourcecode: libnotify version File versions  Download package

void notify_uninit ( void   ) 

Uninitializes the notifications library.

This will be automatically called on exit unless previously called.

Definition at line 98 of file notify.c.

Referenced by notify_init().

{
      GList *l;

      if (_app_name != NULL)
      {
            g_free(_app_name);
            _app_name = NULL;
      }

      for (l = _active_notifications; l != NULL; l = l->next)
      {
            NotifyNotification *n = NOTIFY_NOTIFICATION(l->data);

            if (_notify_notification_get_timeout(n) == 0 ||
                  _notify_notification_has_nondefault_actions(n))
            {
                  notify_notification_close(n, NULL);
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index