[gtk+/wip/baedert/drawing: 48/50] scrollbar: notify when setting the orientation



commit 18d224ce25151a90f0c14a1c46c1944a5a3db5df
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]