From 3d8f9a04b94a0186ac17c040e232280fc494f925 Mon Sep 17 00:00:00 2001 From: Monsta Date: Tue, 13 Jan 2015 16:39:30 +0300 Subject: we don't need g_type_init (in GLib >= 2.36) Closes https://github.com/mate-desktop/mate-sensors-applet/pull/21 --- configure.ac | 2 +- plugins/udisks/udisks-plugin.c | 2 -- 2 files changed, 1 insertion(+), 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 */ -- cgit v1.2.1