Ticket #27923: gtksourceview_gtksourceview-i18n.c.diff
File gtksourceview_gtksourceview-i18n.c.diff, 837 bytes (added by hsivank@…, 14 years ago) |
---|
-
gtksourceview/gtksourceview-i18n.c
old new 24 24 #endif 25 25 26 26 #ifdef OS_OSX 27 #include <ige-mac-bundle.h> 27 #ifndef __x86_64__ 28 #include <ige-mac-bundle.h> 29 #else 30 #include <gtkosxapplication.h> 31 #endif 28 32 #endif 29 33 30 34 #include <string.h> … … 45 49 46 50 g_free (win32_dir); 47 51 #elif defined (OS_OSX) 52 #ifndef __x86_64__ 48 53 IgeMacBundle *bundle = ige_mac_bundle_get_default (); 49 54 50 55 if (ige_mac_bundle_get_is_app_bundle (bundle)) 51 56 { 52 57 locale_dir = g_strdup (ige_mac_bundle_get_localedir (bundle)); 53 58 } 59 #else 60 if(quartz_application_get_bundle_id() != NULL) 61 { 62 locale_dir = g_strdup (quartz_application_get_resource_path()); 63 } 64 #endif 54 65 else 55 66 { 56 67 locale_dir = g_build_filename (DATADIR, "locale", NULL);