aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-10 14:07:37 -0600
committerTed Gould <ted@gould.cx>2011-02-10 14:07:37 -0600
commit43c1ba2998088bb4e5dd74acc8637da2f867831b (patch)
tree0f7abc399baaa1bab5ad126c98f058662b3cf634
parent2f8daaccfa12fa4d569dc370803ba88dbd3c1920 (diff)
downloadlibayatana-appindicator-43c1ba2998088bb4e5dd74acc8637da2f867831b.tar.gz
libayatana-appindicator-43c1ba2998088bb4e5dd74acc8637da2f867831b.tar.bz2
libayatana-appindicator-43c1ba2998088bb4e5dd74acc8637da2f867831b.zip
Being more specific about the types of the signal
-rw-r--r--src/app-indicator.c2
-rw-r--r--src/app-indicator.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 7bee341..f4e9173 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -476,6 +476,8 @@ app_indicator_class_init (AppIndicatorClass *klass)
/**
AppIndicator::scroll-event:
@arg0: The #AppIndicator object
+ @arg1: How many steps the scroll wheel has taken
+ @arg2: (type Gdk.ScrollDirection) Which direction the wheel went in
Signaled when there is a new icon set for the
object.
diff --git a/src/app-indicator.h b/src/app-indicator.h
index abd6699..2a30b22 100644
--- a/src/app-indicator.h
+++ b/src/app-indicator.h
@@ -212,7 +212,7 @@ struct _AppIndicatorClass {
void (* scroll_event) (AppIndicator * indicator,
gint delta,
- guint direction,
+ GdkScrollDirection direction,
gpointer user_data);
void (*app_indicator_reserved_ats)(void);