summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-09-14 10:52:08 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-09-14 10:52:08 +0000
commitbaed8047273d2122be11d882677a27473b20a09d (patch)
treee265ccce1b58ee07af681e011eae3f5095db2fdf /src/bin/e_bg.c
parente5a75c2b6d1c4412faad7c8a15c5ef40b2a69d31 (diff)
argh, another case of someone making callbacks with the data param last! fix fix! ABI borked again!
SVN revision: 76663
Diffstat (limited to 'src/bin/e_bg.c')
-rw-r--r--src/bin/e_bg.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c
index 4b1bd3a..b392e54 100644
--- a/src/bin/e_bg.c
+++ b/src/bin/e_bg.c
@@ -3,7 +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);
6 6static void e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path);
7static int e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path);
7static 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);
8 9
9/* local subsystem globals */ 10/* local subsystem globals */
@@ -439,12 +440,13 @@ e_bg_update(void)
439 } 440 }
440} 441}
441 442
443/* local subsystem functions */
442 444
443/** 445/**
444 * Set background to image, as required in e_fm2_mime_handler_new() 446 * Set background to image, as required in e_fm2_mime_handler_new()
445 */ 447 */
446EAPI void 448static void
447e_bg_handler_set(Evas_Object *obj __UNUSED__, const char *path, void *data __UNUSED__) 449e_bg_handler_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path)
448{ 450{
449 E_Container *con; 451 E_Container *con;
450 char buf[4096]; 452 char buf[4096];
@@ -511,8 +513,8 @@ e_bg_handler_set(Evas_Object *obj __UNUSED__, const char *path, void *data __UNU
511 * 513 *
512 * Just edje files with "e/desktop/background" group are used. 514 * Just edje files with "e/desktop/background" group are used.
513 */ 515 */
514EAPI int 516static int
515e_bg_handler_test(Evas_Object *obj __UNUSED__, const char *path, void *data __UNUSED__) 517e_bg_handler_test(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *path)
516{ 518{
517 if (!path) return 0; 519 if (!path) return 0;
518 520
@@ -526,7 +528,6 @@ e_bg_handler_test(Evas_Object *obj __UNUSED__, const char *path, void *data __UN
526 return 1; 528 return 1;
527} 529}
528 530
529/* local subsystem functions */
530static void 531static void
531_e_bg_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) 532_e_bg_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
532{ 533{