summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-10-13 02:37:12 -0700
committerBenjamin Otte <otte@redhat.com>2011-10-14 00:31:16 -0700
commit68f4dd0b03bf7fb0ac692476a35b1747d5006ca0 (patch)
tree26f34e54827c9f04be41d2f2ca44828cd818f669
parent0e0c5559b2119db3e5d2c3b7c2d09ded656d71d0 (diff)
board: Chain to parent in size_allocate
-rw-r--r--src/gnome/gnome-board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnome/gnome-board.c b/src/gnome/gnome-board.c
index 04c26e7..7f25582 100644
--- a/src/gnome/gnome-board.c
+++ b/src/gnome/gnome-board.c
@@ -82,7 +82,8 @@ game_gnome_board_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
{
GameGnomeBoard *board = GAME_GNOME_BOARD (widget);
- widget->allocation = *allocation;
+ GTK_WIDGET_CLASS (parent_class)->size_allocate (widget, allocation);
+
game_gnome_board_compute_window_size (board);
}