+/*{{{ Style specifications */
+
+
+static bool get_spec(ExtlTab tab, const char *name, GrStyleSpec *spec,
+ char **pat_ret)
+{
+ char *str;
+ bool res;
+
+ if(!extl_table_gets_s(tab, name, &str))
+ return FALSE;
+
+ res=gr_stylespec_load(spec, str);
+
+ if(pat_ret==NULL)
+ free(str);
+ else
+ *pat_ret=str;
+
+ return res;
+}
+
+
+/*}}}*/
+
+