Fix missing initializer warning in gio/gcontenttype.c:load_comment_for_mime_helper()

gio/gcontenttype.c: In function ‘load_comment_for_mime_helper’:
gio/gcontenttype.c:409:3: error: missing initializer for field ‘passthrough’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’}
  409 |   };
      |   ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 11:18:15 +01:00 committed by Philip Withnall
parent ae1eebb2e9
commit f12f008699

View File

@ -405,7 +405,9 @@ load_comment_for_mime_helper (const char *dir,
GMarkupParser parser = { GMarkupParser parser = {
mime_info_start_element, mime_info_start_element,
mime_info_end_element, mime_info_end_element,
mime_info_text mime_info_text,
NULL,
NULL
}; };
filename = g_build_filename (dir, basename, NULL); filename = g_build_filename (dir, basename, NULL);