summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-08-17 19:04:01 +0200
committerDave Davenport <qball@gmpclient.org>2017-08-17 19:04:01 +0200
commit686be5856ce421edf79d147abd52954f7d0cb634 (patch)
tree60ec94dbe1488630e77557e6d152bfe0f1c4c992 /source/xrmoptions.c
parentfb8f56dab3f8d2d1eaa54e33b1c4873af5473983 (diff)
Move PropertyType into rofi-types header and add check for names pairs.
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index af8fe846..1eff4246 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -391,7 +391,6 @@ void config_parse_cmd_options ( void )
static gboolean __config_parser_set_property ( XrmOption *option, const Property *p, char **error )
{
- extern const char *PropertyTypeName[];
if ( option->type == xrm_String ) {
if ( p->type != P_STRING && p->type != P_LIST ) {
*error = g_strdup_printf ( "Option: %s needs to be set with a string not a %s.", option->name, PropertyTypeName[p->type] );