GCC 4 problem in nm-netlink-monitor.c



GCC caught a missing sentinel hint for g_object_new in
nm-netlink-monitor.c:266.

Change

	instance = g_object_new (NM_TYPE_NETLINK_MONITOR, NULL);

to

	instance = g_object_new (NM_TYPE_NETLINK_MONITOR, NULL, NULL);

to solve the problem.

Rgds
Pierre



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]