[gnome-calendar] 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] week-header: fix drawing stray lines when managing events
- Date: Wed, 24 May 2017 20:27:37 +0000 (UTC)
commit d294ea46a568352366a537c615fa6083b6550c61
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]