diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-20 14:05:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-20 14:05:46 -0700 |
commit | 0bf2cfa66d489a43090fcca0e220260a74cc9f20 (patch) | |
tree | 43bf9edd29359da04ec4ad8aea6bf35d297854ab /gtk-gui.c | |
parent | 682135838ff313594c7f67fabd9be8f88a33883b (diff) | |
download | subsurface-0bf2cfa66d489a43090fcca0e220260a74cc9f20.tar.gz |
Fix preferences dialog
Dirk took some old code when he did the merge of the newly split gui
code. Fix it up.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -155,14 +155,14 @@ static void quit(GtkWidget *w, gpointer data) gtk_main_quit(); } -static void create_radio(GtkWidget *dialog, const char *name, ...) +static void create_radio(GtkWidget *vbox, const char *name, ...) { va_list args; GtkRadioButton *group = NULL; GtkWidget *box, *label; box = gtk_hbox_new(TRUE, 10); - gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), box); + gtk_box_pack_start(GTK_BOX(vbox), box, FALSE, FALSE, 0); label = gtk_label_new(name); gtk_box_pack_start(GTK_BOX(box), label, TRUE, TRUE, 0); |