~cjcurran/indicator-sound/banshee-offline-speciality

« back to all changes in this revision

Viewing changes to src/voip-input-widget.c

  • Committer: Conor Curran
  • Date: 2011-03-21 13:04:13 UTC
  • Revision ID: conor.curran@canonical.com-20110321130413-z1d184jyf9fyth2d
some extra trace around sliders to track the volume zero app start madness

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
  g_return_if_fail (IS_VOIP_INPUT_WIDGET (userdata));
130
130
  VoipInputWidget* mitem = VOIP_INPUT_WIDGET(userdata);
131
131
  VoipInputWidgetPrivate * priv = VOIP_INPUT_WIDGET_GET_PRIVATE(mitem);
132
 
  //g_debug("scrub-widget::property_update for prop %s", property);
133
132
  if(g_ascii_strcasecmp(DBUSMENU_VOIP_INPUT_MENUITEM_LEVEL, property) == 0){
134
 
    if(priv->grabbed == FALSE){
 
133
    g_return_if_fail (g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE));
 
134
    if (priv->grabbed == FALSE){
135
135
      GtkWidget *slider = ido_scale_menu_item_get_scale((IdoScaleMenuItem*)priv->ido_voip_input_slider);
136
136
      GtkRange *range = (GtkRange*)slider;
137
137
      gdouble update = g_variant_get_double (value);