summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm.c
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2012-01-18 16:31:41 +0000
committerIván Briano <sachieru@gmail.com>2012-01-18 16:31:41 +0000
commit6b70935a966d4ccedc16f0eab67af4112f9300cc (patch)
tree2399d33911e88a9f6ca58d1c57a4b36064754095 /src/edje_externals/elm.c
parent22563a83499a27f045ea2c86e74cc39c21d0c029 (diff)
Sharing is good, but not when it makes the domain appear incorrectly in error messages, so let's have externals use its own variable for that.
SVN revision: 67295
Diffstat (limited to 'src/edje_externals/elm.c')
-rw-r--r--src/edje_externals/elm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index 75f482ca4..d390c5d99 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -1,7 +1,7 @@
1#include "Elementary.h" 1#include "Elementary.h"
2#include "private.h" 2#include "private.h"
3 3
4int _elm_log_dom = -1; 4int _elm_ext_log_dom = -1;
5 5
6static int init_count = 0; 6static int init_count = 0;
7 7
@@ -302,7 +302,7 @@ static Edje_External_Type_Info elm_external_types[] =
302static Eina_Bool 302static Eina_Bool
303elm_mod_init(void) 303elm_mod_init(void)
304{ 304{
305 _elm_log_dom = eina_log_domain_register("elm-externals", EINA_COLOR_LIGHTBLUE); 305 _elm_ext_log_dom = eina_log_domain_register("elm-externals", EINA_COLOR_LIGHTBLUE);
306 edje_external_type_array_register(elm_external_types); 306 edje_external_type_array_register(elm_external_types);
307 return EINA_TRUE; 307 return EINA_TRUE;
308} 308}
@@ -311,8 +311,8 @@ static void
311elm_mod_shutdown(void) 311elm_mod_shutdown(void)
312{ 312{
313 edje_external_type_array_unregister(elm_external_types); 313 edje_external_type_array_unregister(elm_external_types);
314 if (_elm_log_dom >= 0) eina_log_domain_unregister(_elm_log_dom); 314 if (_elm_ext_log_dom >= 0) eina_log_domain_unregister(_elm_log_dom);
315 _elm_log_dom = -1; 315 _elm_ext_log_dom = -1;
316} 316}
317 317
318EINA_MODULE_INIT(elm_mod_init); 318EINA_MODULE_INIT(elm_mod_init);