Missing value dialog: Avoid access to sealed Gtk members
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 26 May 2013 11:44:44 +0000 (13:44 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 28 May 2013 14:03:46 +0000 (16:03 +0200)
src/ui/gui/missing-val-dialog.c

index 162dcd66d937005ee944fec1db845ed0cbb66407..92d4ef6ecb352bed70fb83b22304ae325d224416 100644 (file)
@@ -201,7 +201,7 @@ err_dialog (const gchar *msg, GtkWindow *window)
 
   hbox = gtk_hbox_new (FALSE, 10);
 
-  gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox),
+  gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
                     hbox);
 
   gtk_box_pack_start (GTK_BOX (hbox), icon, TRUE, FALSE, 10);