Elementary: give argv[0] to eina_prefix_new
[framework/uifw/elementary.git] / src / lib / elm_main.c
index b16d9ee..ab410e1 100644 (file)
@@ -385,7 +385,7 @@ elm_quicklaunch_init(int    argc,
 
    if (argv) _elm_appname = strdup(ecore_file_file_get(argv[0]));
 
-   pfx = eina_prefix_new(NULL, elm_quicklaunch_init,
+   pfx = eina_prefix_new(argv[0], elm_quicklaunch_init,
                          "ELM", "elementary", "config/profile.cfg",
                          PACKAGE_LIB_DIR, /* don't have a bin dir currently */
                          PACKAGE_LIB_DIR,