From 43c1ba2998088bb4e5dd74acc8637da2f867831b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 10 Feb 2011 14:07:37 -0600 Subject: Being more specific about the types of the signal --- src/app-indicator.c | 2 ++ src/app-indicator.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3