summaryrefslogtreecommitdiff
path: root/src/gpm-backlight-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-backlight-helper.c')
-rw-r--r--src/gpm-backlight-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpm-backlight-helper.c b/src/gpm-backlight-helper.c
index a9c0fd4..3ad78c7 100644
--- a/src/gpm-backlight-helper.c
+++ b/src/gpm-backlight-helper.c
@@ -175,8 +175,10 @@ main (gint argc, gchar *argv[])
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+#if !GLIB_CHECK_VERSION(2,36,0)
/* setup type system */
g_type_init ();
+#endif
context = g_option_context_new (NULL);
/* TRANSLATORS: tool that is used when copying profiles system-wide */