From ae927bc0823597b6287cb68264be74f90e16385e Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 10 Nov 2014 10:14:07 +0100 Subject: scroll-event: change parameter to the right type The scroll-direction parameter is of type uint, but the annotation says that it's of Gdk.ScrollDirection. Thus, bindings always see 0 for that parameter. This commit changes the actual type of the parameter instead of the annotation. This should be API compatible for C while still maintaining the proper type for bindings. --- src/app-indicator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app-indicator.c b/src/app-indicator.c index 0fc577d..ff06a08 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -526,7 +526,7 @@ 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 + * @arg2: (type Gdk.ScrollDirection): Which direction the wheel went in * * Signaled when the #AppIndicator receives a scroll event. */ @@ -536,7 +536,7 @@ app_indicator_class_init (AppIndicatorClass *klass) G_STRUCT_OFFSET (AppIndicatorClass, scroll_event), NULL, NULL, _application_service_marshal_VOID__INT_UINT, - G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_UINT); + G_TYPE_NONE, 2, G_TYPE_INT, GDK_TYPE_SCROLL_DIRECTION); /* DBus interfaces */ if (item_node_info == NULL) { @@ -1064,7 +1064,7 @@ bus_method_call (GDBusConnection * connection, const gchar * sender, GVariant * retval = NULL; if (g_strcmp0(method, "Scroll") == 0) { - guint direction; + GdkScrollDirection direction; gint delta; const gchar *orientation; -- cgit v1.2.3 From cd218c8b6b039316e44027bb53bd4dd19e640a22 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 10 Nov 2014 11:05:47 +0100 Subject: gcov.m4: add lcov 1.11 --- m4/gcov.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/gcov.m4 b/m4/gcov.m4 index 2d0b4bb..bd96386 100644 --- a/m4/gcov.m4 +++ b/m4/gcov.m4 @@ -30,7 +30,7 @@ AC_DEFUN([AC_TDD_GCOV], AC_MSG_ERROR([ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.]) fi - lcov_version_list="1.6 1.7 1.8 1.9 1.10" + lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11" AC_CHECK_PROG(LCOV, lcov, lcov) AC_CHECK_PROG(GENHTML, genhtml, genhtml) -- cgit v1.2.3