[libhandy] swipe-group: Specify null values in GMarkupParser



commit 98cad254d2ea610fce8edaabc741f6ef3c6db05b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Feb 16 02:35:24 2021 +0500

    swipe-group: Specify null values in GMarkupParser
    
    Prevent warnings with -Wmissing-field-initializers.

 src/hdy-swipe-group.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/hdy-swipe-group.c b/src/hdy-swipe-group.c
index 2779a312..303c898f 100644
--- a/src/hdy-swipe-group.c
+++ b/src/hdy-swipe-group.c
@@ -484,7 +484,11 @@ swipe_group_start_element (GMarkupParseContext  *context,
 /* This has been copied and modified from gtksizegroup.c. */
 static const GMarkupParser swipe_group_parser =
   {
-    swipe_group_start_element
+    swipe_group_start_element,
+    NULL,
+    NULL,
+    NULL,
+    NULL
   };
 
 /* This has been copied and modified from gtksizegroup.c. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]