Ticket #40045: patch_quartz-goffice.c.diff

File patch_quartz-goffice.c.diff, 1.2 KB (added by c.herbig@…, 11 years ago)
  • goffice/goffice.c

    old new  
    177177        }
    178178#else
    179179#ifdef GTKOSXAPPLICATION
    180     if (quartz_application_get_bundle_id ())
     180    if (gtkosx_application_get_bundle_id ())
    181181    {
    182182        gchar *dir;
    183183
    184         dir = quartz_application_get_resource_path ();
    185     libgoffice_data_dir = g_build_filename (dir,
    186         "share", "goffice", GOFFICE_VERSION, NULL);
    187     libgoffice_icon_dir = g_build_filename (dir,
    188         "share", "pixmaps", "goffice", GOFFICE_VERSION, NULL);
    189     libgoffice_locale_dir = g_build_filename (dir,
    190         "share", "locale", NULL);
    191     libgoffice_lib_dir = g_build_filename (dir,
    192         "lib", "goffice", GOFFICE_VERSION, NULL);
    193     g_free (dir);
     184        dir = gtkosx_application_get_resource_path ();
     185        libgoffice_data_dir = g_build_filename (dir,
     186                "share", "goffice", GOFFICE_VERSION, NULL);
     187        libgoffice_icon_dir = g_build_filename (dir,
     188                "share", "pixmaps", "goffice", GOFFICE_VERSION, NULL);
     189        libgoffice_locale_dir = g_build_filename (dir,
     190                "share", "locale", NULL);
     191        libgoffice_lib_dir = g_build_filename (dir,
     192                "lib", "goffice", GOFFICE_VERSION, NULL);
     193        g_free (dir);
    194194    }
    195195#endif /* GTKOSXAPPLICATION */
    196196#endif