As we bumped the GLib requirements, there's no need to keep code
to support older versions.
---
src/applet/applet.c | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/src/applet/applet.c b/src/applet/applet.c
index 4d2949c..5778263 100644
--- a/src/applet/applet.c
+++ b/src/applet/applet.c
@@ -1409,21 +1409,6 @@ int main(int argc, char** argv)
#endif
abrt_init(argv);
- /* Glib 2.31:
- * Major changes to threading and synchronisation
- * - threading is now always enabled in GLib
- * - support for custom thread implementations (including our own internal
- * - support for errorcheck mutexes) has been removed
- */
-#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 31)
- //can't use log(), because g_verbose is not set yet
- /* Need to be thread safe */
- g_thread_init(NULL);
- gdk_threads_init();
- gdk_threads_enter();
-#endif
-
- glib_init();
/* Monitor NetworkManager state */
netmon = g_network_monitor_get_default ();
@@ -1603,10 +1588,6 @@ next:
ignored_problems_free(g_ignore_set);
-#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 31)
- gdk_threads_leave();
-#endif
-
/* new_dir_exists() is called for each notification and if user clicks on
* the abrt icon. Those calls cover 99.97% of detected crashes
*
--
2.1.0
Show replies by date