aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-17 17:04:17 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-17 17:04:17 +0000
commit3fe325aad5ec4b63614185f644ca4b7b56cc6955 (patch)
tree1ae796b5ef5f81866c5878593140ba0b78bc52fe /src/bin/options.c
parentignore built/generated files (diff)
downloadterminology-3fe325aad5ec4b63614185f644ca4b7b56cc6955.tar.gz
reduce number of warnings with -Wall -Wextra.
there are still some shadow cases to be fixed and some parameters I've left unused since it seems like a bug in the API or code. SVN revision: 72302
Diffstat (limited to 'src/bin/options.c')
-rw-r--r--src/bin/options.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index 140e93a..f62d811 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -1,3 +1,5 @@
+#include "private.h"
+
#include <Elementary.h>
#include "options.h"
#include "options_font.h"
@@ -11,48 +13,48 @@ static Eina_Bool op_out = EINA_FALSE;
static Ecore_Timer *op_del_timer = NULL;
static void
-_cb_op_font(void *data, Evas_Object *obj, void *event)
+_cb_op_font(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
options_font(op_opbox, data);
}
static void
-_cb_op_theme(void *data, Evas_Object *obj, void *event)
+_cb_op_theme(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
// XXX: not done yet
}
static void
-_cb_op_wallpaper(void *data, Evas_Object *obj, void *event)
+_cb_op_wallpaper(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
// XXX: not done yet
}
static void
-_cb_op_video(void *data, Evas_Object *obj, void *event)
+_cb_op_video(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
options_video(op_opbox, data);
}
static void
-_cb_op_behavior(void *data, Evas_Object *obj, void *event)
+_cb_op_behavior(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
options_behavior(op_opbox, data);
}
static void
-_cb_op_tmp_chg(void *data, Evas_Object *obj, void *event)
+_cb_op_tmp_chg(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
config_tmp = elm_check_state_get(obj);
}
static Eina_Bool
-_cb_op_del_delay(void *data)
+_cb_op_del_delay(void *data __UNUSED__)
{
evas_object_del(op_frame);
options_font_clear();