Print this page
3792 hald.c:371: error: 'g_type_init' is deprecated
Reviewed by: Jon Tibble <meths@btinternet.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 !defined(GLIB_VERSION_2_36) g_type_init (); ! #endif if (getenv ("HALD_VERBOSE")) hald_is_verbose = TRUE; else hald_is_verbose = FALSE;