[gnome-builder] recent: use can-expand property
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] recent: use can-expand property
- Date: Tue, 22 Jan 2019 06:49:29 +0000 (UTC)
commit abcb6e4222397646648c5e3717b81c9b2dd4d7f9
Author: Christian Hergert <chergert redhat com>
Date: Mon Jan 21 22:48:19 2019 -0800
recent: use can-expand property
src/plugins/recent/gbp-recent-section.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/recent/gbp-recent-section.c b/src/plugins/recent/gbp-recent-section.c
index a198e02f1..44585c842 100644
--- a/src/plugins/recent/gbp-recent-section.c
+++ b/src/plugins/recent/gbp-recent-section.c
@@ -642,8 +642,8 @@ gbp_recent_section_constructed (GObject *object)
gtk_container_add (GTK_CONTAINER (row), GTK_WIDGET (image));
gtk_container_add (GTK_CONTAINER (self->listbox), GTK_WIDGET (row));
- g_object_bind_property (self->truncate, "expanded", row, "visible",
- G_BINDING_INVERT_BOOLEAN);
+ g_object_bind_property (self->truncate, "can-expand", row, "visible",
+ G_BINDING_SYNC_CREATE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]