[nautilus/wip/corey/x-content-bar: 4/4] nautilus-x-content-bar: Make AdwBin the parent type
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/corey/x-content-bar: 4/4] nautilus-x-content-bar: Make AdwBin the parent type
- Date: Sat, 17 Sep 2022 08:57:15 +0000 (UTC)
commit 92a4f726fadf71051f25d519bfdef8b219d0f5d0
Author: Corey Berla <corey berla me>
Date: Wed Sep 14 15:06:51 2022 -0700
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
src/nautilus-x-content-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]