[gtk+] widget: remove queue_resize in set_sensitive



commit d8bb228d3bbc33ea0c595285ea6569b9b2c0f76f
Author: Matt Watson <mattdangerw gmail com>
Date:   Mon Jan 11 18:40:53 2016 -0800

    widget: remove queue_resize in set_sensitive
    
    Calling gtk_widget_propagate_state is enough to queue a resize if
    needed
    
    See da7a4089fe82981d1412aaa295e76d47a81ad6df

 gtk/gtkwidget.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 7ce8f83..e2fabdc 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -9571,8 +9571,6 @@ gtk_widget_set_sensitive (GtkWidget *widget,
         }
 
       gtk_widget_propagate_state (widget, &data);
-
-      gtk_widget_queue_resize (widget);
     }
 
   g_object_notify_by_pspec (G_OBJECT (widget), widget_props[PROP_SENSITIVE]);


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