[gtk+] stack switcher: Notify consistently



commit 4aceee71c5cfd321926186b2bc0fdda3335587ef
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 19 18:08:30 2015 -0500

    stack switcher: Notify consistently
    
    Whether to notify a property change should not depend
    on whether the switcher is associated with a stack or not.

 gtk/gtkstackswitcher.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index de46f8c..e8f3b9b 100644
--- a/gtk/gtkstackswitcher.c
+++ b/gtk/gtkstackswitcher.c
@@ -474,8 +474,9 @@ gtk_stack_switcher_set_icon_size (GtkStackSwitcher *switcher,
         {
           clear_switcher (switcher);
           populate_switcher (switcher);
-          g_object_notify (G_OBJECT (switcher), "icon-size");
         }
+
+      g_object_notify (G_OBJECT (switcher), "icon-size");
     }
 }
 


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