aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_photo.c
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2010-10-19 18:25:22 +0000
committerBruno Dilly <bdilly@profusion.mobi>2010-10-19 18:25:22 +0000
commit4ea66676b344af28dd26a79c33d11541ddbaeb19 (patch)
treeefb5753a7e79ac270be4197180d3a5cc1bcd1014 /legacy/elementary/src/bin/test_photo.c
parentFix some wextra complains on elm lib (diff)
downloadefl-4ea66676b344af28dd26a79c33d11541ddbaeb19.tar.gz
Fix some Wextra complains on elm bin
SVN revision: 53636
Diffstat (limited to 'legacy/elementary/src/bin/test_photo.c')
-rw-r--r--legacy/elementary/src/bin/test_photo.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/legacy/elementary/src/bin/test_photo.c b/legacy/elementary/src/bin/test_photo.c
index fded32ddee..390c97fd9d 100644
--- a/legacy/elementary/src/bin/test_photo.c
+++ b/legacy/elementary/src/bin/test_photo.c
@@ -1,4 +1,7 @@
#include <Elementary.h>
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
#ifndef ELM_LIB_QUICKLAUNCH
static void drop_cb(void *mydata, Evas_Object *obj, void *evdata);
@@ -6,7 +9,7 @@ static void drag_stop_cb(void *mydata, Evas_Object *obj, void *evdata);
static void drag_start_cb(void *mydata, Evas_Object *obj, void *evdata);
void
-test_photo(void *data, Evas_Object *obj, void *event_info)
+test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Evas_Object *win, *bg, *sc, *tb, *ph;
int i, j, n;
@@ -83,17 +86,17 @@ test_photo(void *data, Evas_Object *obj, void *event_info)
/* Never called, elm_photo never call "drop" smart cb */
static void
-drop_cb(void *mydata, Evas_Object *obj, void *evdata){
+drop_cb(void *mydata __UNUSED__, Evas_Object *obj, void *evdata __UNUSED__){
printf("Drop on obj %p\n", obj);
}
static void
-drag_start_cb(void *mydata, Evas_Object *obj, void *evdata){
+drag_start_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__){
}
static void
-drag_stop_cb(void *mydata, Evas_Object *obj, void *evdata){
+drag_stop_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__){
}