Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from GordanM/topic/deprecated
Browse files Browse the repository at this point in the history
pers_ipc_dbus: remove deprecated glib init
  • Loading branch information
guysagnes authored Jul 7, 2017
2 parents d9235fa + fe82962 commit 29ec697
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pers_ipc_dbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 29ec697

Please sign in to comment.