ui/gtk/headerbar.c

branch
newapi
changeset 359
c51e58359db8
parent 350
70305d427f25
--- a/ui/gtk/headerbar.c	Sun Oct 27 10:33:24 2024 +0100
+++ b/ui/gtk/headerbar.c	Sun Oct 27 11:34:25 2024 +0100
@@ -128,7 +128,7 @@
 {
     GtkWidget *button = gtk_toggle_button_new();
     WIDGET_ADD_CSS_CLASS(button, "flat");
-    ui_setup_togglebutton(obj, button, item->args.label, item->args.icon, item->args.varname, NULL, item->args.onchange, item->args.onchangedata);
+    ui_setup_togglebutton(obj, button, item->args.label, item->args.icon, item->args.varname, NULL, item->args.onchange, item->args.onchangedata, 0);
     headerbar_add(headerbar, box, button, pos);
 }
 

mercurial