diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-24 19:59:05 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-24 19:59:05 +0200 |
commit | 3be92767b85acabf1f30e010cca425d322b89de2 (patch) | |
tree | a2b95e572dad332a349cc9b17c1c7f2dac33499c /src/gpm-backlight-helper.c | |
parent | 147f55213c2592b118d16bb813041768769cf61b (diff) | |
download | mate-power-manager-3be92767b85acabf1f30e010cca425d322b89de2.tar.bz2 mate-power-manager-3be92767b85acabf1f30e010cca425d322b89de2.tar.xz |
Code improvements and deprecation fixesmate-power-manager-1.6.2
Diffstat (limited to 'src/gpm-backlight-helper.c')
-rw-r--r-- | src/gpm-backlight-helper.c | 2 |
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 */ |