Fixed remaining call to ->size_request in GtkTextView.

This commit is contained in:
Tristan Van Berkom 2010-10-27 23:34:58 +09:00
parent ebcb6e6b94
commit 292f32dde8

View File

@ -3921,7 +3921,7 @@ changed_handler (GtkTextLayout *layout,
* to avoid the optimization which just returns widget->requisition * to avoid the optimization which just returns widget->requisition
* if a resize hasn't been queued. * if a resize hasn't been queued.
*/ */
GTK_WIDGET_GET_CLASS (widget)->size_request (widget, &new_req); gtk_text_view_size_request (widget, &new_req);
if (old_req.width != new_req.width || if (old_req.width != new_req.width ||
old_req.height != new_req.height) old_req.height != new_req.height)