summaryrefslogtreecommitdiff
path: root/src/trg-torrent-props-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r--src/trg-torrent-props-dialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c
index 2ce81ec..2ac11f5 100644
--- a/src/trg-torrent-props-dialog.c
+++ b/src/trg-torrent-props-dialog.c
@@ -221,7 +221,7 @@ static GObject *trg_torrent_props_dialog_constructor(GType type,
JsonObject *json;
GtkTreeSelection *selection;
gint rowCount;
- GtkWidget *notebook;
+ GtkWidget *notebook, *contentvbox;
object = G_OBJECT_CLASS
(trg_torrent_props_dialog_parent_class)->constructor(type,
@@ -278,7 +278,8 @@ static GObject *trg_torrent_props_dialog_constructor(GType type,
gtk_container_set_border_width(GTK_CONTAINER(notebook), GUI_PAD);
- gtk_box_pack_start(GTK_BOX(GTK_DIALOG(object)->vbox), notebook,
+ contentvbox = gtk_dialog_get_content_area(GTK_DIALOG(object));
+ gtk_box_pack_start(GTK_BOX(contentvbox), notebook,
TRUE, TRUE, 0);
return object;