summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-09-14 15:06:51 -0700
committerAntónio Fernandes <antoniof@gnome.org>2022-09-17 08:57:14 +0000
commit92a4f726fadf71051f25d519bfdef8b219d0f5d0 (patch)
treec7d0cca39fed634e42cdf4e46a8b41c4b509cbe4
parent0e704e21cd3dddec44268295595724ca41e24822 (diff)
downloadnautilus-92a4f726fadf71051f25d519bfdef8b219d0f5d0.tar.gz
nautilus-x-content-bar: Make AdwBin the parent type
During the switch to GTK4 (e358c2343c47aa26d568254a12f06a8431b2da42), nautilus-x-content-bar parent was changed from GtkInfoBar to AdwBin, but the G_DEFINE_TYPE macro wasn't updated accordingly. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2477
-rw-r--r--src/nautilus-x-content-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-x-content-bar.c b/src/nautilus-x-content-bar.c
index fe4b61578..689e1294b 100644
--- a/src/nautilus-x-content-bar.c
+++ b/src/nautilus-x-content-bar.c
@@ -52,7 +52,7 @@ enum
CONTENT_BAR_RESPONSE_APP = 1
};
-G_DEFINE_TYPE (NautilusXContentBar, nautilus_x_content_bar, GTK_TYPE_INFO_BAR)
+G_DEFINE_TYPE (NautilusXContentBar, nautilus_x_content_bar, ADW_TYPE_BIN)
static void
content_bar_response_cb (GtkInfoBar *infobar,