summaryrefslogtreecommitdiff
path: root/src/bin/utils.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-12 14:31:03 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-12 14:31:03 +0900
commitcc0f075b2742b767c63a29fb34d7137288953976 (patch)
treea46948fec9cc7f7b14e289378ff39f4741d2b0d2 /src/bin/utils.c
parent8eba17574229d6a0229ef7f65ee622650f24ed6b (diff)
make theme auto-reload emit signals to configure stuff properly!
Diffstat (limited to 'src/bin/utils.c')
-rw-r--r--src/bin/utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/utils.c b/src/bin/utils.c
index 027254e..67fb71c 100644
--- a/src/bin/utils.c
+++ b/src/bin/utils.c
@@ -43,7 +43,14 @@ theme_reload(Evas_Object *edje)
43static void 43static void
44theme_reload_cb(void *data EINA_UNUSED, Evas_Object *obj, const char *emission EINA_UNUSED, const char *source EINA_UNUSED) 44theme_reload_cb(void *data EINA_UNUSED, Evas_Object *obj, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
45{ 45{
46 void (*func) (void *d);
47 void *func_data;
48
46 theme_reload(obj); 49 theme_reload(obj);
50 func = evas_object_data_get(obj, "theme_reload_func");
51 func_data = evas_object_data_get(obj, "theme_reload_func_data");
52 printf("%p %p\n", func, func_data);
53 if (func) func(func_data);
47} 54}
48 55
49void 56void