summaryrefslogtreecommitdiff
path: root/typing-break
diff options
context:
space:
mode:
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;