Pass the corrent arguments to pspp_sheet_view_column_cell_render
[pspp] / src / ui / gui / psppire-conf.c
index fe4f934bd640193e382f1fc077c7ff661f91850b..e917ecebb87f294fd1b4b8e3a6e15a69af023cb1 100644 (file)
@@ -300,10 +300,11 @@ psppire_conf_save_window_geometry (PsppireConf *conf,
 
   if (!maximized)
     {
-      gint width, height;
       gint x, y;
 
-      gdk_drawable_get_size (w, &width, &height);
+      gint width = gdk_window_get_width (w);
+      gint height= gdk_window_get_height (w);
+
       gdk_window_get_position (w, &x, &y);
 
       psppire_conf_set_int (conf, base, "height", height);