[gedit/wip/3.14-osx: 6/12] Fix spell checker to user new Gtkosx API



commit 28e7c54cd34461d1f839d5ba8d2e623a210b696f
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Mar 22 09:45:46 2014 +0100

    Fix spell checker to user new Gtkosx API

 plugins/spell/gedit-spell-checker-language.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-checker-language.c b/plugins/spell/gedit-spell-checker-language.c
index 28489de..2684e72 100644
--- a/plugins/spell/gedit-spell-checker-language.c
+++ b/plugins/spell/gedit-spell-checker-language.c
@@ -74,9 +74,9 @@ get_iso_codes_locale_dir (void)
                                       NULL);
 #else
 #if OS_OSX
-       if (quartz_application_get_bundle_id ())
+       if (gtkosx_application_get_bundle_id () != NULL)
        {
-               const gchar *bundle_resource_dir = quartz_application_get_resource_path ();
+               const gchar *bundle_resource_dir = gtkosx_application_get_resource_path ();
 
                locale_dir = g_build_filename (bundle_resource_dir,
                                               "share",
@@ -113,9 +113,9 @@ get_iso_codes_xml_name (gint iso)
                                      NULL);
 #else
 #if OS_OSX
-       if (quartz_application_get_bundle_id ())
+       if (gtkosx_application_get_bundle_id () != NULL)
        {
-               const gchar *bundle_resource_dir = quartz_application_get_resource_path ();
+               const gchar *bundle_resource_dir = gtkosx_application_get_resource_path ();
 
                share_dir = g_build_filename (bundle_resource_dir,
                                               "share",


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