summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sagnes <guy.sagnes@continental-corporation.com>2017-07-07 07:43:52 +0200
committerGitHub <noreply@github.com>2017-07-07 07:43:52 +0200
commit29ec697368f1ebddfedd5502329ba821c158564d (patch)
tree1a710f66688078a192e9d035fe281089c873ed28
parentd9235faadfd9499ec93d17b08cf59e2628473e00 (diff)
parentfe829626b34c9ee1ca0d6e256c39a4333d6cebdd (diff)
downloadpersistence-common-object-29ec697368f1ebddfedd5502329ba821c158564d.tar.gz
Merge pull request #2 from GordanM/topic/deprecated
pers_ipc_dbus: remove deprecated glib init
-rw-r--r--src/pers_ipc_dbus.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pers_ipc_dbus.c b/src/pers_ipc_dbus.c
index cac136d..f399bd0 100644
--- a/src/pers_ipc_dbus.c
+++ b/src/pers_ipc_dbus.c
@@ -1407,9 +1407,6 @@ static void* persIpcPASLoopThread(void *lpParam)
{
uint32_t u32ConnectionId = 0;
- /* Initialize glib */
- g_type_init(); /* deprecated. Since GLib 2.36, the type system is initialized automatically and this function does nothing.*/
-
/* Create the main loop */
g_pPASMainLoop = g_main_loop_new(NIL, FALSE);
if(NIL == g_pPASMainLoop)
@@ -1466,9 +1463,6 @@ static void* persIpcPCLLoopThread(void *lpParam)
{
GError *pGError = NIL;
- /* Initialize glib */
- g_type_init(); /* deprecated. Since GLib 2.36, the type system is initialized automatically and this function does nothing.*/
-
/* Create the main loop */
g_pPCLMainLoop = g_main_loop_new(NIL, FALSE);