[gnome-calendar/date-selector] date-selector: fix focus-out propagation issue
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/date-selector] date-selector: fix focus-out propagation issue
- Date: Sun, 21 Dec 2014 15:53:02 +0000 (UTC)
commit dc9e63fbf0f37fd9075635dd71aaa8cc3814e4d5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Dec 21 13:52:53 2014 -0200
date-selector: fix focus-out propagation issue
src/gcal-date-selector.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index b74921b..dda320b 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -66,7 +66,7 @@ static guint signals[NUM_SIGNALS] = { 0, };
static void calendar_day_selected (GtkCalendar *calendar,
gpointer user_data);
-static void date_entry_focus_out (GtkWidget *widget,
+static gboolean date_entry_focus_out (GtkWidget *widget,
GdkEvent *event,
gpointer user_data);
@@ -107,7 +107,7 @@ calendar_day_selected (GtkCalendar *calendar,
user_data);
}
-static void
+static gboolean
date_entry_focus_out (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
@@ -150,6 +150,8 @@ date_entry_focus_out (GtkWidget *widget,
g_signal_handlers_unblock_by_func (priv->calendar,
calendar_day_selected,
user_data);
+
+ return FALSE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]