summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm.c
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2010-03-26 05:20:30 +0000
committerIván Briano <sachieru@gmail.com>2010-03-26 05:20:30 +0000
commit5e9df3c2ae2cfd736866db6f30a7c3e54893e2bb (patch)
treefb6a73beb83fe1deb8a18a14260b803892604bab /src/edje_externals/elm.c
parent7e437c0a6f3f4afbe0ed6ac469ffa2c3181ad25f (diff)
_elm_log_dom is not available outside of libelementary.so and EAPIfying it doesn't sound like a good idea. So let's just have another variable named like it in the externals module so we can reuse the log macros defined in elm_priv.h
SVN revision: 47468
Diffstat (limited to 'src/edje_externals/elm.c')
-rw-r--r--src/edje_externals/elm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index 520a4ddf7..c7ed11609 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -1,6 +1,8 @@
1#include "Elementary.h" 1#include "Elementary.h"
2#include "private.h" 2#include "private.h"
3 3
4int _elm_log_dom = -1;
5
4void 6void
5external_signal(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *signal, const char *source) 7external_signal(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *signal, const char *source)
6{ 8{
@@ -152,6 +154,7 @@ static Edje_External_Type_Info elm_external_types[] =
152static Eina_Bool 154static Eina_Bool
153elm_mod_init(void) 155elm_mod_init(void)
154{ 156{
157 _elm_log_dom = eina_log_domain_register("elm-externals", EINA_COLOR_LIGHTBLUE);
155 edje_external_type_array_register(elm_external_types); 158 edje_external_type_array_register(elm_external_types);
156 return EINA_TRUE; 159 return EINA_TRUE;
157} 160}