Exchange
Login | Search:

image-viewer

Updated by urandom on 2009-07-20 02:14:40

A simple application for viewing images in a directory.

Comments

Getting compilation error

main.c: In function ‘create_main_win’:
main.c:1623:4: warning: passing argument 1 of ‘elm_theme_extension_add’ from incompatible pointer type
/usr/include/Elementary.h:294:22: note: expected ‘struct Elm_Theme *’ but argument is of type ‘char *’
main.c:1623:4: error: too few arguments to function ‘elm_theme_extension_add’
/usr/include/Elementary.h:294:22: note: declared here
make[3]: *** [main.o] Error 1
image-viewer r48631
elementary r49539
e r49539
By twa022 on 2010-06-14 08:19:21 for image-viewer
fixed with this patch

--- src/bin/main.c 2010-06-14 12:12:23.493009757 -0400
+++ src/bin/main.c~ 2010-06-14 12:12:55.186339458 -0400
@@ -1615,7 +1615,7 @@
    * XXX: configurable themes<br/>    * */<br/>   snprintf(buf, sizeof(buf), "%s/themes/default.edj", PACKAGE_DATA_DIR);<br/>
- elm_theme_extension_add(buf);
+ elm_theme_extension_add(NULL, buf);
   iv->theme_file = eina_stringshare_add(buf);<br/>

   o = elm_win_add(NULL, "main", ELM_WIN_BASIC);
By twa022 on 2010-06-14 10:21:49 for image-viewer
Login to add a comment.
Showing 1 to 2 of 2
Show: