Print this page
3792 hald.c:371: error: 'g_type_init' is deprecated
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Jon Tibble <meths@btinternet.com>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
*** 365,377 ****
guint sigterm_iochn_listener_source_id;
char *path;
char newpath[512];
openlog ("hald", LOG_PID, LOG_DAEMON);
!
g_type_init ();
!
if (getenv ("HALD_VERBOSE"))
hald_is_verbose = TRUE;
else
hald_is_verbose = FALSE;
--- 365,377 ----
guint sigterm_iochn_listener_source_id;
char *path;
char newpath[512];
openlog ("hald", LOG_PID, LOG_DAEMON);
! #if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
! #endif
if (getenv ("HALD_VERBOSE"))
hald_is_verbose = TRUE;
else
hald_is_verbose = FALSE;