[gtk+] notebook: Don't allocate during size requests



commit c3548328f7fa00117dfc1b4caece7471fd28d171
Author: Benjamin Otte <otte redhat com>
Date:   Fri Dec 18 01:01:33 2015 +0100

    notebook: Don't allocate during size requests
    
    wat?

 gtk/gtknotebook.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 5d27c6c..361d477 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -6871,8 +6871,6 @@ gtk_notebook_real_switch_page (GtkNotebook     *notebook,
           gtk_widget_grab_focus (GTK_WIDGET (notebook));
     }
 
-  gtk_notebook_pages_allocate (notebook);
-
   gtk_widget_queue_resize (GTK_WIDGET (notebook));
   g_object_notify_by_pspec (G_OBJECT (notebook), properties[PROP_PAGE]);
 }


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