diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-notebook.c | 10 | ||||
-rw-r--r-- | src/nautilus-properties-window.c | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c index e5bc14d53..494ef8ed1 100644 --- a/src/nautilus-notebook.c +++ b/src/nautilus-notebook.c @@ -314,11 +314,11 @@ nautilus_notebook_add_tab (GtkNotebook *notebook, tab_label, position); - gtk_container_child_set (GTK_CONTAINER (notebook), - GTK_WIDGET (slot), - "tab-expand", TRUE, - "detachable", FALSE, - NULL); + g_object_set (gtk_notebook_get_page (GTK_NOTEBOOK (notebook), + GTK_WIDGET (slot)), + "tab-expand", TRUE, + "detachable", FALSE, + NULL); nautilus_notebook_sync_tab_label (notebook, slot); nautilus_notebook_sync_loading (notebook, slot); diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index e6a2a4e24..f7274bbfb 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -4228,10 +4228,10 @@ append_extension_pages (NautilusPropertiesWindow *self) gtk_notebook_append_page (self->notebook, page_widget, label); - gtk_container_child_set (GTK_CONTAINER (self->notebook), - page_widget, - "tab-expand", TRUE, - NULL); + g_object_set (gtk_notebook_get_page (GTK_NOTEBOOK (self->notebook), + GTK_WIDGET (page_widget)), + "tab-expand", TRUE, + NULL); g_object_set_data (G_OBJECT (page_widget), "is-extension-page", |