aboutsummaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk.c b/gtk.c
index 2373e38..3ded45a 100644
--- a/gtk.c
+++ b/gtk.c
@@ -1674,7 +1674,7 @@ static void resize_puzzle_to_area(frontend *fe, int x, int y)
fe->w = x;
fe->h = y;
- midend_size(fe->me, &x, &y, true);
+ midend_size(fe->me, &x, &y, true, 1.0);
fe->pw = x;
fe->ph = y;
#if GTK_CHECK_VERSION(3,10,0)
@@ -2210,7 +2210,7 @@ static void get_size(frontend *fe, int *px, int *py)
*/
x = INT_MAX;
y = INT_MAX;
- midend_size(fe->me, &x, &y, false);
+ midend_size(fe->me, &x, &y, false, 1.0);
*px = x;
*py = y;
}