diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-07-02 05:05:39 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-07-02 05:05:39 +0200 |
commit | 62c7490c8d18ed4f4e0c7b4ab63d518e12cbd168 (patch) | |
tree | 4805cdbd27321aafa0e93c09bc584172ac7824bf | |
parent | 0ab53a47180937d8f91122ffbeb5f7defb4c76b6 (diff) | |
download | ayatana-indicator-application-62c7490c8d18ed4f4e0c7b4ab63d518e12cbd168.tar.gz ayatana-indicator-application-62c7490c8d18ed4f4e0c7b4ab63d518e12cbd168.tar.bz2 ayatana-indicator-application-62c7490c8d18ed4f4e0c7b4ab63d518e12cbd168.zip |
Use the "entry-scrolled" signal instead of the old ones
It follows the API change of libindicator
-rw-r--r-- | src/indicator-application.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c index 2b26c92..fd24c27 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -109,7 +109,7 @@ static void indicator_application_dispose (GObject *object); static void indicator_application_finalize (GObject *object); static GList * get_entries (IndicatorObject * io); static guint get_location (IndicatorObject * io, IndicatorObjectEntry * entry); -static void scroll_entry (IndicatorObject * io, IndicatorObjectEntry * entry, gint delta, IndicatorScrollDirection direction); +static void entry_scrolled (IndicatorObject * io, IndicatorObjectEntry * entry, gint delta, IndicatorScrollDirection direction); void connection_changed (IndicatorServiceManager * sm, gboolean connected, IndicatorApplication * application); static void connected (IndicatorApplication * application); static void disconnected (IndicatorApplication * application); @@ -144,7 +144,7 @@ indicator_application_class_init (IndicatorApplicationClass *klass) io_class->get_entries = get_entries; io_class->get_location = get_location; - io_class->scroll_entry = scroll_entry; + io_class->entry_scrolled = entry_scrolled; return; } @@ -403,7 +403,7 @@ get_location (IndicatorObject * io, IndicatorObjectEntry * entry) } /* Redirect the scroll event to the Application Item */ -static void scroll_entry (IndicatorObject * io, IndicatorObjectEntry * entry, gint delta, IndicatorScrollDirection direction) { +static void entry_scrolled (IndicatorObject * io, IndicatorObjectEntry * entry, gint delta, IndicatorScrollDirection direction) { g_return_if_fail(IS_INDICATOR_APPLICATION(io)); |