summaryrefslogtreecommitdiff
path: root/src/procman.cpp
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 11:59:03 +0100
committerinfirit <[email protected]>2014-12-16 11:59:03 +0100
commitbc87b7b4a1b199606a29877067ae657f850f1618 (patch)
tree73361141e8ed10f96adbf2b2fb3e34d96133d822 /src/procman.cpp
parent9ae0be5ccf7df2f35c13653da97771b06cf6603f (diff)
downloadmate-system-monitor-bc87b7b4a1b199606a29877067ae657f850f1618.tar.bz2
mate-system-monitor-bc87b7b4a1b199606a29877067ae657f850f1618.tar.xz
g_type_init is deprecated in Glib 2.36
Diffstat (limited to 'src/procman.cpp')
-rw-r--r--src/procman.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/procman.cpp b/src/procman.cpp
index 180b0d4..f03b259 100644
--- a/src/procman.cpp
+++ b/src/procman.cpp
@@ -712,7 +712,9 @@ main (int argc, char *argv[])
exit (0);
}
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
gtk_window_set_default_icon_name ("utilities-system-monitor");
g_set_application_name(_("System Monitor"));