summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-03-18 18:09:09 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-18 18:09:09 -0400
commit471dcb24cb9964a3f25dd98628176533f4ba3751 (patch)
tree2b7c631586578b2cf44079c19919bf75923eb660 /src/bin/e_bg.c
parentaefab90d52bc075d5cf5b576340d94e05139691f (diff)
__UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
Diffstat (limited to 'src/bin/e_bg.c')
-rw-r--r--src/bin/e_bg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c
index 2c72f4a..f8c740e 100644
--- a/src/bin/e_bg.c
+++ b/src/bin/e_bg.c
@@ -3,8 +3,8 @@
3/* local subsystem functions */ 3/* local subsystem functions */
4static void _e_bg_signal(void *data, Evas_Object *obj, const char *emission, const char *source); 4static void _e_bg_signal(void *data, Evas_Object *obj, const char *emission, const char *source);
5static void _e_bg_event_bg_update_free(void *data, void *event); 5static void _e_bg_event_bg_update_free(void *data, void *event);
6static void e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path); 6static void e_bg_handler_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path);
7static int e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path); 7static int e_bg_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path);
8static void _e_bg_handler_image_imported(const char *image_path, void *data); 8static void _e_bg_handler_image_imported(const char *image_path, void *data);
9 9
10/* local subsystem globals */ 10/* local subsystem globals */
@@ -416,7 +416,7 @@ e_bg_update(void)
416 * Set background to image, as required in e_fm2_mime_handler_new() 416 * Set background to image, as required in e_fm2_mime_handler_new()
417 */ 417 */
418static void 418static void
419e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path) 419e_bg_handler_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path)
420{ 420{
421 char buf[4096]; 421 char buf[4096];
422 int copy = 1; 422 int copy = 1;
@@ -478,7 +478,7 @@ e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char
478 * Just edje files with "e/desktop/background" group are used. 478 * Just edje files with "e/desktop/background" group are used.
479 */ 479 */
480static int 480static int
481e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path) 481e_bg_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *path)
482{ 482{
483 if (!path) return 0; 483 if (!path) return 0;
484 484
@@ -493,7 +493,7 @@ e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char
493} 493}
494 494
495static void 495static void
496_e_bg_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) 496_e_bg_signal(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
497{ 497{
498 E_Zone *zone = data; 498 E_Zone *zone = data;
499 499
@@ -507,13 +507,13 @@ _e_bg_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNU
507} 507}
508 508
509static void 509static void
510_e_bg_event_bg_update_free(void *data __UNUSED__, void *event) 510_e_bg_event_bg_update_free(void *data EINA_UNUSED, void *event)
511{ 511{
512 free(event); 512 free(event);
513} 513}
514 514
515static void 515static void
516_e_bg_handler_image_imported(const char *image_path, void *data __UNUSED__) 516_e_bg_handler_image_imported(const char *image_path, void *data EINA_UNUSED)
517{ 517{
518 e_bg_default_set(image_path); 518 e_bg_default_set(image_path);
519 e_bg_update(); 519 e_bg_update();