# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1323993099 0 # Node ID 677ca99a8700e1cca6b3eb55f57f9fcb25ac28a3 # Parent 09323eb9dc32085e7dba5c537f26f1f8d4c710c4 Fix dw_window_get_preferred_size() on GTK2... was using the wrong function to get the requisition. diff -r 09323eb9dc32 -r 677ca99a8700 gtk/dw.c --- a/gtk/dw.c Thu Dec 15 23:30:50 2011 +0000 +++ b/gtk/dw.c Thu Dec 15 23:51:39 2011 +0000 @@ -10150,7 +10150,7 @@ int _locked_by_me = FALSE; DW_MUTEX_LOCK; - gtk_widget_get_requisition(handle, &req); + gtk_widget_size_request(handle, &req); if(width) *width = req.width; if(height)