Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
NetworkManager
nm-system-settings-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nm-system-settings-warnings.patch of Package NetworkManager
commit 2a37874c3ceb60274e6b1fe814b0cc90155867d0 Author: Tambet Ingo <tambet@gmail.com> Date: Fri Jan 23 10:30:06 2009 +0200 Fix the warnings on nm-system-settings shutdown. diff --git a/system-settings/src/main.c b/system-settings/src/main.c index 9162ad2..e0021cd 100644 --- a/system-settings/src/main.c +++ b/system-settings/src/main.c @@ -463,7 +463,7 @@ destroy_cb (DBusGProxy *proxy, gpointer user_data) Application *app = (Application *) user_data; /* Clean up existing connection */ - g_warning ("disconnected from the system bus, exiting."); + g_message ("disconnected from the system bus, exiting."); g_main_loop_quit (app->loop); } diff --git a/system-settings/src/nm-system-config-hal-manager.c b/system-settings/src/nm-system-config-hal-manager.c index 64eff00..504573c 100644 --- a/system-settings/src/nm-system-config-hal-manager.c +++ b/system-settings/src/nm-system-config-hal-manager.c @@ -222,19 +222,10 @@ init_dbus (NMSystemConfigHalManager *manager, DBusGConnection *g_connection) } static void -remove_all_devices (gpointer key, gpointer data, gpointer user_data) -{ - NMSystemConfigHalManager *manager = NM_SYSTEM_CONFIG_HAL_MANAGER (user_data); - - g_signal_emit (manager, signals[DEVICE_REMOVED], 0, key, GPOINTER_TO_UINT (data)); -} - -static void cleanup_dbus (NMSystemConfigHalManager *manager) { NMSystemConfigHalManagerPrivate *priv = NM_SYSTEM_CONFIG_HAL_MANAGER_GET_PRIVATE (manager); - g_hash_table_foreach (priv->devices, (GHFunc) remove_all_devices, manager); g_hash_table_remove_all (priv->devices); if (priv->proxy) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor