mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
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:
parent
ecad5cd522
commit
1e1759d5a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user