changeset 1462:677ca99a8700

Fix dw_window_get_preferred_size() on GTK2... was using the wrong function to get the requisition.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 15 Dec 2011 23:51:39 +0000
parents 09323eb9dc32
children 77f530f95826
files gtk/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)