[gnome-todo] notification-widget: Fix callback parameters
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] notification-widget: Fix callback parameters
- Date: Fri, 29 Mar 2019 16:11:52 +0000 (UTC)
commit 900af645f79b54c55e65c40f26f5cf77f22e5826
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Mar 29 12:52:23 2019 -0300
notification-widget: Fix callback parameters
I wonder how this ever worked.
src/notification/gtd-notification-widget.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/notification/gtd-notification-widget.c b/src/notification/gtd-notification-widget.c
index b78efa3..de898f4 100644
--- a/src/notification/gtd-notification-widget.c
+++ b/src/notification/gtd-notification-widget.c
@@ -130,6 +130,10 @@ execute_notification (GtdNotificationWidget *self,
static void
on_motion_controller_enter_cb (GtkEventController *controller,
+ gdouble x,
+ gdouble y,
+ GdkCrossingMode crossing_mode,
+ GdkNotifyType notify_type,
GtdNotificationWidget *self)
{
gtd_notification_stop (self->current_notification);
@@ -137,6 +141,8 @@ on_motion_controller_enter_cb (GtkEventController *controller,
static void
on_motion_controller_leave_cb (GtkEventController *controller,
+ GdkCrossingMode crossing_mode,
+ GdkNotifyType notify_type,
GtdNotificationWidget *self)
{
gtd_notification_start (self->current_notification);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]