summaryrefslogtreecommitdiff
path: root/typing-break
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 14:27:24 +0200
committermbkma <[email protected]>2021-11-11 19:49:25 +0100
commit9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 (patch)
tree7fe044b6473f9c56ed4aed153383ce445f03d985 /typing-break
parentf82acb016938a4177f64906a133c224a0b8c51be (diff)
downloadmate-control-center-9d702031671fa8aa4cdf6ea512b3f59b8ea3da37.tar.bz2
mate-control-center-9d702031671fa8aa4cdf6ea512b3f59b8ea3da37.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'typing-break')
-rw-r--r--typing-break/drw-monitor.c1
-rw-r--r--typing-break/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/typing-break/drw-monitor.c b/typing-break/drw-monitor.c
index df6e119b..8c309194 100644
--- a/typing-break/drw-monitor.c
+++ b/typing-break/drw-monitor.c
@@ -75,6 +75,7 @@ drw_monitor_get_type (void)
sizeof (DrwMonitor),
0, /* n_preallocs */
(GInstanceInitFunc) drw_monitor_init,
+ NULL
};
object_type = g_type_register_static (G_TYPE_OBJECT,
diff --git a/typing-break/main.c b/typing-break/main.c
index c018f820..9e9f4685 100644
--- a/typing-break/main.c
+++ b/typing-break/main.c
@@ -62,7 +62,7 @@ main (int argc, char *argv[])
N_("Enable debugging code"), NULL },
{ "no-check", 'n', 0, G_OPTION_ARG_NONE, &no_check,
N_("Don't check whether the notification area exists"), NULL },
- { NULL }
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};
GOptionContext *option_context;
GError *error = NULL;