keyboard: Simplify bit of code
This commit is contained in:
parent
47770ed40c
commit
816068ff6f
1 changed files with 1 additions and 4 deletions
|
@ -617,10 +617,7 @@ parse_start_tag (GMarkupParseContext *ctx,
|
||||||
key.name = g_strdup (name);
|
key.name = g_strdup (name);
|
||||||
key.description_name = NULL;
|
key.description_name = NULL;
|
||||||
key.value = value;
|
key.value = value;
|
||||||
if (gconf_key)
|
key.key = g_strdup (gconf_key);
|
||||||
key.key = g_strdup (gconf_key);
|
|
||||||
else
|
|
||||||
key.key = NULL;
|
|
||||||
key.comparison = comparison;
|
key.comparison = comparison;
|
||||||
key.cmd_name = NULL;
|
key.cmd_name = NULL;
|
||||||
g_array_append_val (keylist->entries, key);
|
g_array_append_val (keylist->entries, key);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue