GNOME Bugzilla – Bug 610462
Add gtk_widget_get_requisition()
Last modified: 2010-02-19 15:16:03 UTC
This is rarely needed, but a very useful optimization in this case: static void model_changed_callback (Model *model, GtkWidget *view) { if (model->width != view->requisition.width || model->height != view_requisition.height) { gtk_widget_queue_resize (widget); } else { gtk_widget_queue_draw (widget); } } Will attach a trivial patch.
*** This bug has been marked as a duplicate of bug 548026 ***