diff options
Diffstat (limited to 'apps/plugins/puzzles/src/gtk.c')
-rw-r--r-- | apps/plugins/puzzles/src/gtk.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/src/gtk.c b/apps/plugins/puzzles/src/gtk.c index 37ba8078e2..3078e517ba 100644 --- a/apps/plugins/puzzles/src/gtk.c +++ b/apps/plugins/puzzles/src/gtk.c | |||
@@ -1397,7 +1397,9 @@ static gint configure_area(GtkWidget *widget, | |||
1397 | { | 1397 | { |
1398 | frontend *fe = (frontend *)data; | 1398 | frontend *fe = (frontend *)data; |
1399 | resize_puzzle_to_area(fe, event->width, event->height); | 1399 | resize_puzzle_to_area(fe, event->width, event->height); |
1400 | #if GTK_CHECK_VERSION(3,0,0) | ||
1400 | fe->awaiting_resize_ack = FALSE; | 1401 | fe->awaiting_resize_ack = FALSE; |
1402 | #endif | ||
1401 | return TRUE; | 1403 | return TRUE; |
1402 | } | 1404 | } |
1403 | 1405 | ||
@@ -1522,8 +1524,8 @@ static void msgbox_button_clicked(GtkButton *button, gpointer data) | |||
1522 | gtk_widget_destroy(GTK_WIDGET(data)); | 1524 | gtk_widget_destroy(GTK_WIDGET(data)); |
1523 | } | 1525 | } |
1524 | 1526 | ||
1525 | int message_box(GtkWidget *parent, char *title, char *msg, int centre, | 1527 | int message_box(GtkWidget *parent, const char *title, const char *msg, |
1526 | int type) | 1528 | int centre, int type) |
1527 | { | 1529 | { |
1528 | GtkWidget *window, *hbox, *text, *button; | 1530 | GtkWidget *window, *hbox, *text, *button; |
1529 | char *titles; | 1531 | char *titles; |