ui/common/properties.c

changeset 47
97792f44d919
parent 33
458831c574f4
child 140
c03c338a7dcf
--- a/ui/common/properties.c	Sat May 17 10:53:57 2014 +0200
+++ b/ui/common/properties.c	Mon May 19 15:54:58 2014 +0200
@@ -213,6 +213,14 @@
     pixmaps_dir = path;
 }
 
+char* uic_get_image_path(char *imgfilename) {
+    if(pixmaps_dir) {
+        return uic_concat_path(pixmaps_dir, imgfilename, NULL);
+    } else {
+        return NULL;
+    }
+}
+
 void ui_load_lang(char *locale) {
     if(!locale) {
         locale = "en_EN";
@@ -287,11 +295,3 @@
     return ucx_map_cstr_get(language, name);
 }
 
-
-char* uic_get_image_path(char *imgfilename) {
-    if(pixmaps_dir) {
-        return uic_concat_path(pixmaps_dir, imgfilename, NULL);
-    } else {
-        return NULL;
-    }
-}

mercurial