aboutsummaryrefslogtreecommitdiff
path: root/src/voip-input-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-21 16:01:03 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-21 16:01:03 +0000
commit6375d3eb602251a2374944817e34b9695ae50b65 (patch)
treea1f9cab47facd8e4b81115983cce4c053ed8cb8d /src/voip-input-widget.c
parent6de8affd0a17ab7729ac7647d8e84e58a158601a (diff)
parentd737d7c43b907929fc62c294a0962284f097853d (diff)
downloadayatana-indicator-sound-6375d3eb602251a2374944817e34b9695ae50b65.tar.gz
ayatana-indicator-sound-6375d3eb602251a2374944817e34b9695ae50b65.tar.bz2
ayatana-indicator-sound-6375d3eb602251a2374944817e34b9695ae50b65.zip
feature for new banshee specific behaviour landed
Diffstat (limited to 'src/voip-input-widget.c')
-rw-r--r--src/voip-input-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/voip-input-widget.c b/src/voip-input-widget.c
index 6878361..dcf858e 100644
--- a/src/voip-input-widget.c
+++ b/src/voip-input-widget.c
@@ -129,9 +129,9 @@ voip_input_widget_property_update (DbusmenuMenuitem* item, gchar* property,
g_return_if_fail (IS_VOIP_INPUT_WIDGET (userdata));
VoipInputWidget* mitem = VOIP_INPUT_WIDGET(userdata);
VoipInputWidgetPrivate * priv = VOIP_INPUT_WIDGET_GET_PRIVATE(mitem);
- //g_debug("scrub-widget::property_update for prop %s", property);
if(g_ascii_strcasecmp(DBUSMENU_VOIP_INPUT_MENUITEM_LEVEL, property) == 0){
- if(priv->grabbed == FALSE){
+ g_return_if_fail (g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE));
+ if (priv->grabbed == FALSE){
GtkWidget *slider = ido_scale_menu_item_get_scale((IdoScaleMenuItem*)priv->ido_voip_input_slider);
GtkRange *range = (GtkRange*)slider;
gdouble update = g_variant_get_double (value);