~cjcurran/indicator-sound/sigabrt

« back to all changes in this revision

Viewing changes to src/sound-service-dbus.c

  • Committer: Conor Curran
  • Date: 2011-03-25 11:34:52 UTC
  • Revision ID: conor.curran@canonical.com-20110325113452-hnn9ut4rvfe15e8t
g_critical not a g_error

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
 
240
240
  if (priv->connection == NULL ||
241
241
      g_dbus_connection_is_closed (priv->connection) == TRUE){
242
 
    g_warning ("sound_service_dbus_update_sound_state - connection no good !!");
 
242
    g_critical ("sound_service_dbus_update_sound_state - connection no good !!");
243
243
    return;
244
244
  }
245
245
 
252
252
                                 v_output,
253
253
                                 &error );
254
254
  if (error != NULL) {
255
 
    g_error("Unable to emit signal because : %s", error->message);
 
255
    g_critical ("Unable to emit signal because : %s", error->message);
256
256
    g_error_free(error);
257
257
  }
258
258
}