summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2015-06-09 00:43:19 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2015-06-26 10:30:20 +0900
commit5d5506032f82a3885de0113d6705153aa2e96ea0 (patch)
treed1f73cae695b943d8e1a444274f121c8ad5cfac6
parent496d7c9b4be883e668a27dc32306449ba8f1771c (diff)
elm: Remove shadow variable declarations.
-rw-r--r--src/lib/elc_naviframe.c4
-rw-r--r--src/lib/elm_helper.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index ff18ee724..2b1c1972d 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1377,10 +1377,10 @@ _elm_naviframe_evas_object_smart_add(Eo *obj, Elm_Naviframe_Data *priv)
1377} 1377}
1378 1378
1379static void 1379static void
1380_send_signal(Elm_Naviframe_Item_Data *it, const char *signal) 1380_send_signal(Elm_Naviframe_Item_Data *it, const char *sig)
1381{ 1381{
1382 if (!it) return ; 1382 if (!it) return ;
1383 elm_object_signal_emit(VIEW(it), signal, "elm"); 1383 elm_object_signal_emit(VIEW(it), sig, "elm");
1384 edje_object_message_signal_process(elm_layout_edje_get(VIEW(it))); 1384 edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
1385} 1385}
1386 1386
diff --git a/src/lib/elm_helper.c b/src/lib/elm_helper.c
index 57a042353..a1aae3f4c 100644
--- a/src/lib/elm_helper.c
+++ b/src/lib/elm_helper.c
@@ -13,12 +13,12 @@ struct _Elm_Validator_Regexp
13}; 13};
14 14
15EAPI Elm_Validator_Regexp * 15EAPI Elm_Validator_Regexp *
16elm_validator_regexp_new(const char *pattern, const char *signal) 16elm_validator_regexp_new(const char *pattern, const char *sig)
17{ 17{
18 Elm_Validator_Regexp *validator; 18 Elm_Validator_Regexp *validator;
19 19
20 validator = calloc(1, sizeof(Elm_Validator_Regexp)); 20 validator = calloc(1, sizeof(Elm_Validator_Regexp));
21 validator->signal = eina_stringshare_add(signal ? signal : "default"); 21 validator->signal = eina_stringshare_add(sig ? sig : "default");
22 validator->status = regcomp(&validator->regex, pattern, REG_EXTENDED | REG_NOSUB) ? ELM_REG_BADPAT : ELM_REG_NOERROR; 22 validator->status = regcomp(&validator->regex, pattern, REG_EXTENDED | REG_NOSUB) ? ELM_REG_BADPAT : ELM_REG_NOERROR;
23 23
24 return validator; 24 return validator;