Fix unused variable from d195a59c80

This commit is contained in:
Tom Stellard 2020-09-09 06:48:23 -07:00
parent 4696053c95
commit 2a560b8454
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ option_add(OptionList *optionlist, const gchar *name,
if(optionlist->list != NULL) {
GQuark quark = g_quark_from_string(name);
element = g_datalist_id_get_data(&optionlist->datalist, name);
element = g_datalist_id_get_data(&optionlist->datalist, quark);
}
if(element != NULL)