summaryrefslogtreecommitdiff
path: root/src/modules/conf_keybindings
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-09-18 11:30:26 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-09-18 11:30:26 +0000
commitcd430d113f169f23d7069ab54378670c55664b99 (patch)
treee94953990bf11b0938e23431abc6a1ec286ceed4 /src/modules/conf_keybindings
parent028ca489f70cbedfeb64d051a71a4c52ec659a25 (diff)
s/strcmp/e_util_strcmp/g
SVN revision: 76801
Diffstat (limited to 'src/modules/conf_keybindings')
-rw-r--r--src/modules/conf_keybindings/e_int_config_keybindings.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/conf_keybindings/e_int_config_keybindings.c b/src/modules/conf_keybindings/e_int_config_keybindings.c
index c0acc2e59..9eb186297 100644
--- a/src/modules/conf_keybindings/e_int_config_keybindings.c
+++ b/src/modules/conf_keybindings/e_int_config_keybindings.c
@@ -813,7 +813,7 @@ _update_action_params(E_Config_Dialog_Data *cfdata)
813 813
814 if (action) 814 if (action)
815 { 815 {
816 if (!strcmp(action, actd->act_cmd)) 816 if (!e_util_strcmp(action, actd->act_cmd))
817 { 817 {
818 if ((cfdata->locals.cur_act >= 0) && (cfdata->locals.cur_act != e_widget_ilist_selected_get(cfdata->gui.o_action_list))) 818 if ((cfdata->locals.cur_act >= 0) && (cfdata->locals.cur_act != e_widget_ilist_selected_get(cfdata->gui.o_action_list)))
819 KB_EXAMPLE_PARAMS; 819 KB_EXAMPLE_PARAMS;
@@ -992,10 +992,10 @@ _grab_key_down_cb(void *data,
992 printf("'%s' '%s'\n", ev->keyname, ev->key); 992 printf("'%s' '%s'\n", ev->keyname, ev->key);
993 else 993 else
994 printf("unknown key!!!!\n"); 994 printf("unknown key!!!!\n");
995 if (!strcmp(ev->keyname, "Control_L") || !strcmp(ev->keyname, "Control_R") || 995 if (!e_util_strcmp(ev->keyname, "Control_L") || !e_util_strcmp(ev->keyname, "Control_R") ||
996 !strcmp(ev->keyname, "Shift_L") || !strcmp(ev->keyname, "Shift_R") || 996 !e_util_strcmp(ev->keyname, "Shift_L") || !e_util_strcmp(ev->keyname, "Shift_R") ||
997 !strcmp(ev->keyname, "Alt_L") || !strcmp(ev->keyname, "Alt_R") || 997 !e_util_strcmp(ev->keyname, "Alt_L") || !e_util_strcmp(ev->keyname, "Alt_R") ||
998 !strcmp(ev->keyname, "Super_L") || !strcmp(ev->keyname, "Super_R")) 998 !e_util_strcmp(ev->keyname, "Super_L") || !e_util_strcmp(ev->keyname, "Super_R"))
999 { 999 {
1000 /* Do nothing */ 1000 /* Do nothing */
1001 } 1001 }
@@ -1174,10 +1174,10 @@ _auto_apply_changes(E_Config_Dialog_Data *cfdata)
1174 ok = 1; 1174 ok = 1;
1175 if (cfdata->locals.params) 1175 if (cfdata->locals.params)
1176 { 1176 {
1177 if (!strcmp(cfdata->locals.params, TEXT_NO_PARAMS)) 1177 if (!e_util_strcmp(cfdata->locals.params, TEXT_NO_PARAMS))
1178 ok = 0; 1178 ok = 0;
1179 1179
1180 if ((actd->param_example) && (!strcmp(cfdata->locals.params, actd->param_example))) 1180 if ((actd->param_example) && (!e_util_strcmp(cfdata->locals.params, actd->param_example)))
1181 ok = 0; 1181 ok = 0;
1182 } 1182 }
1183 else 1183 else
@@ -1212,7 +1212,7 @@ _find_key_binding_action(const char *action,
1212 for (l2 = actg->acts, aa = 0; l2; l2 = l2->next, aa++) 1212 for (l2 = actg->acts, aa = 0; l2; l2 = l2->next, aa++)
1213 { 1213 {
1214 actd = l2->data; 1214 actd = l2->data;
1215 if (!strcmp((!action ? "" : action), (!actd->act_cmd ? "" : actd->act_cmd))) 1215 if (!e_util_strcmp((!action ? "" : action), (!actd->act_cmd ? "" : actd->act_cmd)))
1216 { 1216 {
1217 if (!params || !params[0]) 1217 if (!params || !params[0])
1218 { 1218 {
@@ -1237,7 +1237,7 @@ _find_key_binding_action(const char *action,
1237 } 1237 }
1238 else 1238 else
1239 { 1239 {
1240 if (!strcmp(params, actd->act_params)) 1240 if (!e_util_strcmp(params, actd->act_params))
1241 { 1241 {
1242 if (g) *g = gg; 1242 if (g) *g = gg;
1243 if (a) *a = aa; 1243 if (a) *a = aa;