[gtk+/wip/baedert/drawing: 69/71] scrollbar: notify when setting the orientation



commit 09e2363c3a7d716342a6c100557a8c299c5c93e2
Author: Timm Bäder <mail baedert org>
Date:   Fri Jun 16 15:22:59 2017 +0200

    scrollbar: notify when setting the orientation

 gtk/gtkscrollbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 2f6b7c8..7d77f68 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -180,6 +180,7 @@ gtk_scrollbar_set_property (GObject      *object,
             _gtk_orientable_set_style_classes (GTK_ORIENTABLE (self));
 
             gtk_widget_queue_resize (GTK_WIDGET (self));
+            g_object_notify_by_pspec (object, pspec);
           }
       }
       break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]