[nautilus/wip/antoniof/experimental-gtk4-build: 2/55] view-icon-controller: Stop using gtk_containter_add()
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/experimental-gtk4-build: 2/55] view-icon-controller: Stop using gtk_containter_add()
- Date: Sat, 1 Jan 2022 21:47:00 +0000 (UTC)
commit 0b8d60c428f23eba689447204916be15904c77eb
Author: António Fernandes <antoniof gnome org>
Date: Sat Jan 1 19:25:04 2022 +0000
view-icon-controller: Stop using gtk_containter_add()
src/nautilus-view-icon-controller.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/nautilus-view-icon-controller.c b/src/nautilus-view-icon-controller.c
index f7b705119..943fd5f75 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -1411,7 +1411,8 @@ constructed (GObject *object)
(GCallback) on_longpress_gesture_pressed_callback,
self);
- gtk_container_add (GTK_CONTAINER (content_widget), GTK_WIDGET (self->view_ui));
+ gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (content_widget),
+ GTK_WIDGET (self->view_ui));
self->action_group = nautilus_files_view_get_action_group (NAUTILUS_FILES_VIEW (self));
g_action_map_add_action_entries (G_ACTION_MAP (self->action_group),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]