[recipes] Put a working workaround in place
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Put a working workaround in place
- Date: Mon, 22 May 2017 14:47:39 +0000 (UTC)
commit 1fef5462c303d952b0ad376fd689a03506421d9b
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 22 10:42:47 2017 -0400
Put a working workaround in place
This works, even though it is not ideal.
src/gr-edit-page.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-edit-page.c b/src/gr-edit-page.c
index 54b1093..f919421 100644
--- a/src/gr-edit-page.c
+++ b/src/gr-edit-page.c
@@ -906,6 +906,12 @@ gr_edit_page_init (GrEditPage *page)
gtk_widget_set_has_window (GTK_WIDGET (page), FALSE);
gtk_widget_init_template (GTK_WIDGET (page));
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ // Without this, we get border artifacts left behind when adding and removing
+ // ingredients :-(
+ gtk_container_set_reallocate_redraws (GTK_CONTAINER (page->ingredients_box), TRUE);
+G_GNUC_END_IGNORE_DEPRECATIONS
+
page->group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
populate_cuisine_combo (page);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]