gcocoanotificationbackend: give more priority than the gtk one

On OSX both backends are built. Generally we want to use the cocoa
backend by default and in case it is not supported, i.e because
the application is not using a bundle then we should fallback
to the gtk one.
This commit is contained in:
Ignacio Casal Quinteiro 2019-03-26 10:20:25 +01:00
parent ecad5cd522
commit 1e1759d5a2

View File

@ -44,7 +44,7 @@ GType g_cocoa_notification_backend_get_type (void);
G_DEFINE_TYPE_WITH_CODE (GCocoaNotificationBackend, g_cocoa_notification_backend, G_TYPE_NOTIFICATION_BACKEND,
_g_io_modules_ensure_extension_points_registered ();
g_io_extension_point_implement (G_NOTIFICATION_BACKEND_EXTENSION_POINT_NAME, g_define_type_id, "cocoa", 0));
g_io_extension_point_implement (G_NOTIFICATION_BACKEND_EXTENSION_POINT_NAME, g_define_type_id, "cocoa", 200));
static NSString *
nsstring_from_cstr (const char *cstr)