[gedit/wip/3.10.4-osx: 9/13] Fix spell checker to user new Gtkosx API



commit 9bb9a007f64f0aed5508dcf25c89314112b37455
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 fe3ec8e..d3c2011 100644
--- a/plugins/spell/gedit-spell-checker-language.c
+++ b/plugins/spell/gedit-spell-checker-language.c
@@ -82,9 +82,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",
@@ -121,9 +121,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]