[gnome-calendar/gnome-3-24] week-header: fix drawing stray lines when managing events
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-24] week-header: fix drawing stray lines when managing events
- Date: Fri, 9 Jun 2017 02:43:17 +0000 (UTC)
commit a91c3f9bc244175532360ecc03461789df1bc35d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed May 24 17:27:07 2017 -0300
week-header: fix drawing stray lines when managing events
src/views/gcal-week-header.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index 9d10841..d4bdd33 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -1487,6 +1487,11 @@ gcal_week_header_init (GcalWeekHeader *self)
gtk_widget_init_template (GTK_WIDGET (self));
+ /* This is to avoid stray lines when adding and removing events */
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ gtk_container_set_reallocate_redraws (GTK_CONTAINER (self), TRUE);
+G_GNUC_END_IGNORE_DEPRECATIONS
+
/* Setup the week header as a drag n' drop destination */
gtk_drag_dest_set (GTK_WIDGET (self),
0,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]