[nautilus/wip/corey/selection-performance: 4/16] nautilus-x-content-bar: Make AdwBin the parent type




commit 1c82bb2d22441ebf10c4164c04661797582a5490
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]