[glib/cocoa-notification-backend-default] gcocoanotificationbackend: give more priority than the gtk one



commit 1e1759d5a2bccca51517bc72c0fed99920ef1af0
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Tue Mar 26 10:20:25 2019 +0100

    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.

 gio/gcocoanotificationbackend.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gcocoanotificationbackend.m b/gio/gcocoanotificationbackend.m
index ae4ad8833..9d632b4a5 100644
--- a/gio/gcocoanotificationbackend.m
+++ b/gio/gcocoanotificationbackend.m
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]