[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:26:26 +0000 (UTC)
commit e47c6e2fa8467208a21d34bd6a28e544c86610f1
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 7f9bda1053..ca3dbb2e82 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_by_pspec (G_OBJECT (self), box_layout_props[PROP_ORIENTATION]);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]