diff options
Diffstat (limited to 'gtk/gtktreepopover.c')
-rw-r--r-- | gtk/gtktreepopover.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktreepopover.c b/gtk/gtktreepopover.c index 2c26ea8234..dba7de69e0 100644 --- a/gtk/gtktreepopover.c +++ b/gtk/gtktreepopover.c @@ -318,8 +318,8 @@ ensure_submenu (GtkTreePopover *popover, GtkWidget *item; gtk_tree_model_get_iter (popover->model, &iter, path); item = gtk_tree_popover_create_item (popover, path, &iter, TRUE); - gtk_container_add (GTK_CONTAINER (box), item); - gtk_container_add (GTK_CONTAINER (box), gtk_separator_new (GTK_ORIENTATION_HORIZONTAL)); + gtk_box_append (GTK_BOX (box), item); + gtk_box_append (GTK_BOX (box), gtk_separator_new (GTK_ORIENTATION_HORIZONTAL)); } } @@ -407,7 +407,7 @@ row_changed_cb (GtkTreeModel *model, { GtkWidget *box = gtk_widget_get_parent (item); - gtk_container_remove (GTK_CONTAINER (box), item); + gtk_box_remove (GTK_BOX (box), item); item = gtk_tree_popover_create_item (popover, path, iter, FALSE); |