[gspell] osx: remove dead code



commit 33b899247d06529b756a2a75f60a8e14e9adf115
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Tue Aug 16 16:00:00 2022 +0200

    osx: remove dead code
    
    I think that function could be useful for initializing i18n, but it has
    been unused since the beginning of gspell I think.

 gspell/gspell-osx.c | 17 -----------------
 gspell/gspell-osx.h |  3 ---
 2 files changed, 20 deletions(-)
---
diff --git a/gspell/gspell-osx.c b/gspell/gspell-osx.c
index 05b3fff..93aaa75 100644
--- a/gspell/gspell-osx.c
+++ b/gspell/gspell-osx.c
@@ -25,23 +25,6 @@
 #include <gtkosxapplication.h>
 #import <Cocoa/Cocoa.h>
 
-gchar *
-_gspell_osx_get_resource_path (void)
-{
-       gchar *id;
-       gchar *ret = NULL;
-
-       id = gtkosx_application_get_bundle_id ();
-
-       if (id != NULL)
-       {
-               ret = gtkosx_application_get_resource_path ();
-       }
-
-       g_free (id);
-       return ret;
-}
-
 gchar *
 _gspell_osx_get_preferred_spell_language ()
 {
diff --git a/gspell/gspell-osx.h b/gspell/gspell-osx.h
index 3b67d40..f4e5e36 100644
--- a/gspell/gspell-osx.h
+++ b/gspell/gspell-osx.h
@@ -28,9 +28,6 @@ G_BEGIN_DECLS
 G_GNUC_INTERNAL
 gchar *        _gspell_osx_get_preferred_spell_language        (void);
 
-G_GNUC_INTERNAL
-gchar *        _gspell_osx_get_resource_path                   (void);
-
 G_END_DECLS
 
 #endif /* _GSPELL_OSX_H */


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