2004-08-29 Colin Walters <walters@verbum.org>
* test/nminfotest.c: Include string.h and stdlib.h. (get_network_string_property, get_networks_of_type): Return NULL. * test/nmclienttest.c (get_device_name, get_active_device): Return NULL. * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just use strlen, fgets always NULL-terminates the string. * src/NetworkManagerDbus.c (nm_dbus_nmi_filter, dbus_message_get_member): Remove /* in comment. * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto. * src/NetworkManager.c (quit): Unused, delete. (nm_data_free): Cast arg to GFunc. * panel-applet/NMWirelessAppletDbus.c: Need to include string.h, and dbus-glib-lowlevel.h (the latter is needed for dbus_connection_setup_with_g_main at present). (nmwa_dbus_update_wireless_network_list): Parenthesize assignment in conditional. (nmwa_dbus_worker): Return NULL. * panel-applet/NMWirelessApplet.c (nmwa_redraw) (nmwa_get_menu_pos, nmwa_toplevel_menu_activate) (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables. (nmwa_populate_menu): Return NULL on failure, instead of just return; * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc. * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused variables. * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused, delete. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@105 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -159,7 +159,7 @@ int main( int argc, char *argv[] )
|
||||
/* If NM doesn't get a connection within a reasonable amount of time,
|
||||
* exit to let bootup continue.
|
||||
*/
|
||||
timeout = g_timeout_add (10000, g_main_loop_quit, loop);
|
||||
timeout = g_timeout_add (10000, (GSourceFunc) g_main_loop_quit, loop);
|
||||
|
||||
g_main_loop_run (loop);
|
||||
|
||||
|
Reference in New Issue
Block a user