diff options
author | Ted Gould <ted@canonical.com> | 2009-11-02 09:35:48 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-02 09:35:48 -0600 |
commit | c99ef2256a94f1ce7c4b54f8c7d5321e29faffa9 (patch) | |
tree | bb3845426b6460964fd451bd6e49933bf5bea01b | |
parent | 0745e42d7032a400e1661da94faef05de7be7527 (diff) | |
download | libayatana-indicator-c99ef2256a94f1ce7c4b54f8c7d5321e29faffa9.tar.gz libayatana-indicator-c99ef2256a94f1ce7c4b54f8c7d5321e29faffa9.tar.bz2 libayatana-indicator-c99ef2256a94f1ce7c4b54f8c7d5321e29faffa9.zip |
Some things are errors that should really be warnings.
-rw-r--r-- | libindicator/indicator-service-manager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c index 2d668ff..656472d 100644 --- a/libindicator/indicator-service-manager.c +++ b/libindicator/indicator-service-manager.c @@ -237,13 +237,13 @@ watch_cb (DBusGProxy * proxy, gint version, GError * error, gpointer user_data) IndicatorServiceManagerPrivate * priv = INDICATOR_SERVICE_MANAGER_GET_PRIVATE(user_data); if (error != NULL) { - g_error("Unable to set watch on '%s': '%s'", priv->name, error->message); + g_warning("Unable to set watch on '%s': '%s'", priv->name, error->message); g_error_free(error); return; } if (version != INDICATOR_SERVICE_VERSION) { - g_error("Service is using a different version of the service interface. Expecting %d and got %d.", INDICATOR_SERVICE_VERSION, version); + g_warning("Service is using a different version of the service interface. Expecting %d and got %d.", INDICATOR_SERVICE_VERSION, version); return; } @@ -261,12 +261,12 @@ start_service_cb (DBusGProxy * proxy, guint status, GError * error, gpointer use IndicatorServiceManagerPrivate * priv = INDICATOR_SERVICE_MANAGER_GET_PRIVATE(user_data); if (error != NULL) { - g_error("Unable to start service '%s': %s", priv->name, error->message); + g_warning("Unable to start service '%s': %s", priv->name, error->message); return; } if (status != DBUS_START_REPLY_SUCCESS && status != DBUS_START_REPLY_ALREADY_RUNNING) { - g_error("Status of starting the process '%s' was an error: %d", priv->name, status); + g_warning("Status of starting the process '%s' was an error: %d", priv->name, status); return; } |