summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-10-13 01:50:23 -0700
committerBenjamin Otte <otte@redhat.com>2011-10-14 00:31:15 -0700
commitc21afd29ba72cf4052ae326ce51e809426b97719 (patch)
tree9fd307a7a18795bd5c6e992802a9152894ecad15 /src
parent95db9d8a29979903c78e1e51f81c2b7ab7a817e2 (diff)
highscore: Don't use sealed variables
Diffstat (limited to 'src')
-rw-r--r--src/gnome/gnome-highscore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnome/gnome-highscore.c b/src/gnome/gnome-highscore.c
index a11be4f..6d5a67e 100644
--- a/src/gnome/gnome-highscore.c
+++ b/src/gnome/gnome-highscore.c
@@ -188,7 +188,7 @@ game_gnome_high_score_init (GTypeInstance *instance, gpointer g_class)
viewport = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (viewport), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (viewport), score->treeview);
- gtk_container_add (GTK_CONTAINER (dialog->vbox), viewport);
+ gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (dialog)), viewport);
gtk_widget_show_all (viewport);
gtk_dialog_add_button (dialog, _("Watch _Replay"), GTK_RESPONSE_ACCEPT);