projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab67d8
)
header-bar: Add a precondition to track_default_decoration()
author
Alice Mikhaylenko
<alicem@gnome.org>
Sun, 24 Sep 2023 11:21:43 +0000
(15:21 +0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Sep 2023 00:42:44 +0000
(20:42 -0400)
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index b0c0963254993150f035022eeb3977ba5b3d683c..c5fbbf57446e9a10fedfec26f42a2446891b6b9f 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-229,6
+229,8
@@
update_default_decoration (GtkHeaderBar *bar)
void
_gtk_header_bar_track_default_decoration (GtkHeaderBar *bar)
{
+ g_assert (GTK_IS_HEADER_BAR (bar));
+
bar->track_default_decoration = TRUE;
update_default_decoration (bar);