summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-13 16:39:30 +0300
committerStefano Karapetsas <[email protected]>2015-01-14 07:54:41 +0100
commit3d8f9a04b94a0186ac17c040e232280fc494f925 (patch)
tree909f46a70388f839001574175ac57b499e46ba08
parenta4f1b1447f2f8cb00c368ec40f0dbc3285b2c764 (diff)
downloadmate-sensors-applet-3d8f9a04b94a0186ac17c040e232280fc494f925.tar.bz2
mate-sensors-applet-3d8f9a04b94a0186ac17c040e232280fc494f925.tar.xz
we don't need g_type_init (in GLib >= 2.36)
Closes https://github.com/mate-desktop/mate-sensors-applet/pull/21
-rw-r--r--configure.ac2
-rw-r--r--plugins/udisks/udisks-plugin.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 3818111..ee1089d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@ AC_CHECK_HEADERS(
dlfcn.h
)
-GLIB_REQUIRED=2.26.0
+GLIB_REQUIRED=2.36.0
LIBPANEL_REQUIRED=1.1.0
LIBNOTIFY_REQUIRED=0.7.0
LIBCAIRO_REQUIRED=1.0.4
diff --git a/plugins/udisks/udisks-plugin.c b/plugins/udisks/udisks-plugin.c
index 77d066f..8943423 100644
--- a/plugins/udisks/udisks-plugin.c
+++ b/plugins/udisks/udisks-plugin.c
@@ -73,8 +73,6 @@ static void udisks_plugin_get_sensors(GList **sensors) {
guint i;
DevInfo *info;
- g_type_init();
-
/* This connection will be used for everything, including the obtaining
* of sensor data
*/