diff options
Diffstat (limited to 'tools/up-tool.c')
-rw-r--r-- | tools/up-tool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/up-tool.c b/tools/up-tool.c index 87051e3..c82dae4 100644 --- a/tools/up-tool.c +++ b/tools/up-tool.c @@ -278,7 +278,9 @@ main (int argc, char **argv) { NULL } }; +#if !defined(GLIB_VERSION_2_36) g_type_init (); +#endif context = g_option_context_new ("UPower tool"); g_option_context_add_main_entries (context, entries, NULL); |