mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 02:17:51 +02:00
Implement GNotification on OSX
https://bugzilla.gnome.org/show_bug.cgi?id=747146
This commit is contained in:
committed by
Matthias Clasen
parent
89058e8a9b
commit
36e093a31a
@@ -55,7 +55,9 @@ g_notification_backend_new_default (GApplication *application)
|
||||
*/
|
||||
backend->application = application;
|
||||
|
||||
backend->dbus_connection = g_object_ref (g_application_get_dbus_connection (application));
|
||||
backend->dbus_connection = g_application_get_dbus_connection (application);
|
||||
if (backend->dbus_connection)
|
||||
g_object_ref (backend->dbus_connection);
|
||||
|
||||
return backend;
|
||||
}
|
||||
|
Reference in New Issue
Block a user