aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-02 05:32:23 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-02 05:32:23 +0200
commit458442a3554c306f93fca1efb95103ba9ec6c8ff (patch)
tree160a817275af2f1eb43bd35e731e7b80f99dde73 /src
parent53d9d91cee9213f6858176a00f99d656cb115c4b (diff)
downloadayatana-indicator-sound-458442a3554c306f93fca1efb95103ba9ec6c8ff.tar.gz
ayatana-indicator-sound-458442a3554c306f93fca1efb95103ba9ec6c8ff.tar.bz2
ayatana-indicator-sound-458442a3554c306f93fca1efb95103ba9ec6c8ff.zip
Use the "entry-scrolled" signal instead of the old ones
It follows the API change of libindicator
Diffstat (limited to 'src')
-rw-r--r--src/indicator-sound.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index b8c0351..76bf710 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -72,8 +72,8 @@ static GtkLabel * get_label (IndicatorObject * io);
static GtkImage * get_icon (IndicatorObject * io);
static GtkMenu * get_menu (IndicatorObject * io);
static const gchar * get_accessible_desc (IndicatorObject * io);
-static void indicator_sound_scroll (IndicatorObject* io,
- gint delta,
+static void indicator_sound_scroll (IndicatorObject * io,
+ IndicatorObjectEntry * entry, gint delta,
IndicatorScrollDirection direction);
//key/moust event handlers
@@ -124,7 +124,7 @@ indicator_sound_class_init (IndicatorSoundClass *klass)
io_class->get_image = get_icon;
io_class->get_menu = get_menu;
io_class->get_accessible_desc = get_accessible_desc;
- io_class->scroll = indicator_sound_scroll;
+ io_class->entry_scrolled = indicator_sound_scroll;
}
static void
@@ -648,8 +648,8 @@ key_release_cb(GtkWidget* widget, GdkEventKey* event, gpointer data)
}
static void
-indicator_sound_scroll (IndicatorObject *io, gint delta,
- IndicatorScrollDirection direction)
+indicator_sound_scroll (IndicatorObject * io, IndicatorObjectEntry * entry,
+ gint delta, IndicatorScrollDirection direction)
{
//g_debug("indicator-sound-scroll - current slider value");
IndicatorSoundPrivate* priv = INDICATOR_SOUND_GET_PRIVATE(INDICATOR_SOUND (io));