[gtk+/wip/baedert/drawing: 59/130] scrollbar: notify when setting the orientation



commit f75e5ebfe69c7618cd33c95e36464e3345619b71
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]