summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 12:37:37 +0200
committerLuke from DC <[email protected]>2021-12-14 21:03:25 +0000
commitc92b3aa972b3b2a7a00dfb2b3f9c4d96add929e2 (patch)
tree2cd9a76e2b370915daf03ec9eec324e5abb63769 /libmate-panel-applet
parent09674ba9f9b9d6b6cb4b88d9fe81c30aaccef8e6 (diff)
downloadmate-panel-c92b3aa972b3b2a7a00dfb2b3f9c4d96add929e2.tar.bz2
mate-panel-c92b3aa972b3b2a7a00dfb2b3f9c4d96add929e2.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r--libmate-panel-applet/mate-panel-applet-factory.c3
-rw-r--r--libmate-panel-applet/mate-panel-applet.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/libmate-panel-applet/mate-panel-applet-factory.c b/libmate-panel-applet/mate-panel-applet-factory.c
index 326d742b..c0465eb8 100644
--- a/libmate-panel-applet/mate-panel-applet-factory.c
+++ b/libmate-panel-applet/mate-panel-applet-factory.c
@@ -272,7 +272,8 @@ static const gchar introspection_xml[] =
static const GDBusInterfaceVTable interface_vtable = {
method_call_cb,
NULL,
- NULL
+ NULL,
+ { 0 }
};
static GDBusNodeInfo *introspection_data = NULL;
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 15d97585..fc42554a 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -148,7 +148,8 @@ static const GtkActionEntry menu_entries[] = {
static const GtkToggleActionEntry menu_toggle_entries[] = {
{ "Lock", NULL, N_("Loc_k To Panel"),
NULL, NULL,
- G_CALLBACK (mate_panel_applet_menu_cmd_lock) }
+ G_CALLBACK (mate_panel_applet_menu_cmd_lock),
+ FALSE }
};
G_DEFINE_TYPE_WITH_PRIVATE (MatePanelApplet, mate_panel_applet, GTK_TYPE_EVENT_BOX)
@@ -2322,7 +2323,8 @@ static const gchar introspection_xml[] =
static const GDBusInterfaceVTable interface_vtable = {
method_call_cb,
get_property_cb,
- set_property_cb
+ set_property_cb,
+ { 0 }
};
static GDBusNodeInfo *introspection_data = NULL;