diff options
author | Carsten Haitzler <raster@rasterman.com> | 2010-06-04 04:45:53 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2010-06-04 04:45:53 +0000 |
commit | 8fba7a44764f1c2191bb547a00466809ddc89ba4 (patch) | |
tree | 917e759b82594ac4fff353fd04a84aec5bdb3ea4 /legacy/ecore/src/lib/ecore_imf/ecore_imf.c | |
parent | f8cc974e0768865791258845215901550cf6b0fe (diff) |
formatting.
SVN revision: 49440
Diffstat (limited to '')
-rw-r--r-- | legacy/ecore/src/lib/ecore_imf/ecore_imf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf.c index e3b29150a6..16c35202f1 100644 --- a/legacy/ecore/src/lib/ecore_imf/ecore_imf.c +++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf.c | |||
@@ -39,18 +39,18 @@ ecore_imf_init(void) | |||
39 | { | 39 | { |
40 | if (++_ecore_imf_init_count != 1) | 40 | if (++_ecore_imf_init_count != 1) |
41 | return _ecore_imf_init_count; | 41 | return _ecore_imf_init_count; |
42 | 42 | ||
43 | if (!ecore_init()) | 43 | if (!ecore_init()) |
44 | return --_ecore_imf_init_count; | 44 | return --_ecore_imf_init_count; |
45 | _ecore_imf_log_dom = eina_log_domain_register("EcoreIMF", ECORE_IMF_DEFAULT_LOG_COLOR); | 45 | _ecore_imf_log_dom = eina_log_domain_register("EcoreIMF", ECORE_IMF_DEFAULT_LOG_COLOR); |
46 | if(_ecore_imf_log_dom < 0) | 46 | if (_ecore_imf_log_dom < 0) |
47 | { | 47 | { |
48 | EINA_LOG_ERR("Impossible to create a log domain for the Ecore IMF module."); | 48 | EINA_LOG_ERR("Impossible to create a log domain for the Ecore IMF module."); |
49 | ecore_shutdown(); | 49 | ecore_shutdown(); |
50 | return --_ecore_imf_init_count; | 50 | return --_ecore_imf_init_count; |
51 | } | 51 | } |
52 | ecore_imf_module_init(); | 52 | ecore_imf_module_init(); |
53 | 53 | ||
54 | ECORE_IMF_EVENT_PREEDIT_START = ecore_event_type_new(); | 54 | ECORE_IMF_EVENT_PREEDIT_START = ecore_event_type_new(); |
55 | ECORE_IMF_EVENT_PREEDIT_END = ecore_event_type_new(); | 55 | ECORE_IMF_EVENT_PREEDIT_END = ecore_event_type_new(); |
56 | ECORE_IMF_EVENT_PREEDIT_CHANGED = ecore_event_type_new(); | 56 | ECORE_IMF_EVENT_PREEDIT_CHANGED = ecore_event_type_new(); |
@@ -71,7 +71,7 @@ ecore_imf_shutdown(void) | |||
71 | { | 71 | { |
72 | if (--_ecore_imf_init_count != 0) | 72 | if (--_ecore_imf_init_count != 0) |
73 | return _ecore_imf_init_count; | 73 | return _ecore_imf_init_count; |
74 | 74 | ||
75 | ecore_shutdown(); | 75 | ecore_shutdown(); |
76 | ecore_imf_module_shutdown(); | 76 | ecore_imf_module_shutdown(); |
77 | eina_log_domain_unregister(_ecore_imf_log_dom); | 77 | eina_log_domain_unregister(_ecore_imf_log_dom); |