[gtk/gbsneto/install-header] boxlayout: Notify orientation changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gbsneto/install-header] boxlayout: Notify orientation changes
- Date: Thu, 28 Mar 2019 02:34:36 +0000 (UTC)
commit 56d420c06e9d8514c1c328925c1adebd953a8fa4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Mar 27 23:25:22 2019 -0300
boxlayout: Notify orientation changes
This was missing from the initial implementation, and
breaks the tests.
gtk/gtkboxlayout.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkboxlayout.c b/gtk/gtkboxlayout.c
index 0b88e39fcf..5d3ef2bd0d 100644
--- a/gtk/gtkboxlayout.c
+++ b/gtk/gtkboxlayout.c
@@ -91,6 +91,8 @@ gtk_box_layout_set_orientation (GtkBoxLayout *self,
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (widget));
gtk_layout_manager_layout_changed (layout_manager);
+
+ g_object_notify (G_OBJECT (self), "orientation");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]