mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 04:30:11 +00:00
Merge branch 'issue-1973' into 'gtk-3-24'
Do not add empty strings to GtkFileFilter See merge request GNOME/gtk!957
This commit is contained in:
commit
a5cf2c4b19
@ -299,7 +299,7 @@ parser_end_element (GMarkupParseContext *context,
|
|||||||
{
|
{
|
||||||
SubParserData *data = (SubParserData*)user_data;
|
SubParserData *data = (SubParserData*)user_data;
|
||||||
|
|
||||||
if (data->string)
|
if (data->string != NULL && data->string->len != 0)
|
||||||
{
|
{
|
||||||
switch (data->type)
|
switch (data->type)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user