aboutsummaryrefslogtreecommitdiff
path: root/src/slider-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-26 20:27:23 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-26 20:27:23 -0600
commitb21fd65d6bc0dee49a39fb18f585cbe75acc5e52 (patch)
treed47d55bb05dc3c803bd8703c92173423c9558046 /src/slider-menu-item.c
parent46cbdc7d1607b20c1bba67df4471f8e5d1243c3d (diff)
downloadayatana-indicator-sound-b21fd65d6bc0dee49a39fb18f585cbe75acc5e52.tar.gz
ayatana-indicator-sound-b21fd65d6bc0dee49a39fb18f585cbe75acc5e52.tar.bz2
ayatana-indicator-sound-b21fd65d6bc0dee49a39fb18f585cbe75acc5e52.zip
applied fixes
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r--src/slider-menu-item.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c
index d41ff85..64db277 100644
--- a/src/slider-menu-item.c
+++ b/src/slider-menu-item.c
@@ -86,8 +86,6 @@ handle_event (DbusmenuMenuitem * mi,
GVariant* input = NULL;
input = value;
- g_variant_ref (input);
-
// Please note: Subject to change in future DBusmenu revisions
if (g_variant_is_of_type(value, G_VARIANT_TYPE_VARIANT) == TRUE) {
input = g_variant_get_variant(value);
@@ -97,7 +95,6 @@ handle_event (DbusmenuMenuitem * mi,
if (value != NULL){
set_sink_volume(volume_input);
}
- g_variant_unref (input);
}
void slider_menu_item_update (SliderMenuItem* item,