2005-07-22 Robert Love <rml@novell.com>

* src/nm-netlink-monitor.c: g_object_new() needs at least three
          parameters (gcc 4.0.2 warning fix).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@805 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2005-07-22 16:57:36 +00:00 committed by Robert Love
parent 24e3cbb9cd
commit 76cb509080
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-07-22 Robert Love <rml@novell.com>
* src/nm-netlink-monitor.c: g_object_new() needs at least three
parameters (gcc 4.0.2 warning fix).
2005-07-18 Robert Love <rml@novell.com>
Suggested by Aaron Bockover (abockover@novell.com)

View file

@ -263,7 +263,7 @@ nm_netlink_monitor_new (void)
{
GObject *instance;
instance = g_object_new (NM_TYPE_NETLINK_MONITOR, NULL);
instance = g_object_new (NM_TYPE_NETLINK_MONITOR, NULL, NULL);
return NM_NETLINK_MONITOR (instance);
}