Commit a5cf2c4b authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'issue-1973' into 'gtk-3-24'

Do not add empty strings to GtkFileFilter

See merge request GNOME/gtk!957
parents e873c98e 6cdb165f
......@@ -299,7 +299,7 @@ parser_end_element (GMarkupParseContext *context,
{
SubParserData *data = (SubParserData*)user_data;
if (data->string)
if (data->string != NULL && data->string->len != 0)
{
switch (data->type)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment