aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-03-16 11:07:29 +0000
committerConor Curran <conor.curran@canonical.com>2012-03-16 11:07:29 +0000
commit380631efc3397de66c9ac8309c69802c4e04195d (patch)
treef55246f45f968cbb650a036e123526fba0abc9cc /src/indicator-sound.c
parent6d53111b169442dc56f1fdeddea809326b8f2740 (diff)
downloadayatana-indicator-sound-380631efc3397de66c9ac8309c69802c4e04195d.tar.gz
ayatana-indicator-sound-380631efc3397de66c9ac8309c69802c4e04195d.tar.bz2
ayatana-indicator-sound-380631efc3397de66c9ac8309c69802c4e04195d.zip
don't g_error just use g_critical
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 243e759..272c8da 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -299,8 +299,8 @@ connection_changed (IndicatorServiceManager * sm,
node_info = g_dbus_node_info_new_for_xml ( _sound_service,
&error );
if (error != NULL) {
- g_warning( "Failed to get create interface info from xml: %s",
- error->message );
+ g_critical ( "Failed to get create interface info from xml: %s",
+ error->message );
g_error_free(error);
return;
}
@@ -310,7 +310,7 @@ connection_changed (IndicatorServiceManager * sm,
interface_info = g_dbus_node_info_lookup_interface (node_info,
INDICATOR_SOUND_DBUS_INTERFACE);
if (interface_info == NULL) {
- g_error("Unable to find interface '" INDICATOR_SOUND_DBUS_INTERFACE "'");
+ g_critical ("Unable to find interface '" INDICATOR_SOUND_DBUS_INTERFACE "'");
}
}
@@ -339,7 +339,7 @@ static void create_connection_to_service (GObject *source_object,
priv->dbus_proxy = g_dbus_proxy_new_finish(res, &error);
if (error != NULL) {
- g_warning("Failed to get dbus proxy: %s", error->message);
+ g_critical ("Failed to get dbus proxy: %s", error->message);
g_error_free(error);
return;
}