summaryrefslogtreecommitdiff
path: root/src/nautilus-toolbar.h
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-12-19 12:40:34 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-01-05 11:32:12 +0000
commitc0d624c18d8cc4001081197aeb0237611104c09a (patch)
tree75b5042015b37bcb55c087492ef5960180b6d1c5 /src/nautilus-toolbar.h
parent12d3deb7765e2d3191c2678b31a91f354c96c021 (diff)
downloadnautilus-c0d624c18d8cc4001081197aeb0237611104c09a.tar.gz
toolbar: Don't subclass HdyHeaderBar
In GTK4 we are not going to be able to subclass headerbars. But subclassing GtkWidget directly implies adding a lot of boilerplate to behave as a container. The easy way around that is going to be AdwBin. Use GtkBin for the time being, but introduce a wraper for a missing method.
Diffstat (limited to 'src/nautilus-toolbar.h')
-rw-r--r--src/nautilus-toolbar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-toolbar.h b/src/nautilus-toolbar.h
index 364bc76d8..6f49acee1 100644
--- a/src/nautilus-toolbar.h
+++ b/src/nautilus-toolbar.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define NAUTILUS_TYPE_TOOLBAR nautilus_toolbar_get_type()
-G_DECLARE_FINAL_TYPE (NautilusToolbar, nautilus_toolbar, NAUTILUS, TOOLBAR, HdyHeaderBar)
+G_DECLARE_FINAL_TYPE (NautilusToolbar, nautilus_toolbar, NAUTILUS, TOOLBAR, GtkBin)
GtkWidget *nautilus_toolbar_new (void);