ui/gtk/headerbar.c

changeset 839
f1b5e7dd27b9
parent 823
1e1df80772ed
child 867
83bb0dd7123f
--- a/ui/gtk/headerbar.c	Sun Oct 12 08:07:27 2025 +0200
+++ b/ui/gtk/headerbar.c	Sun Oct 12 08:30:29 2025 +0200
@@ -179,7 +179,7 @@
     GtkWidget *button = gtk_toggle_button_new();
     ui_set_widget_groups(obj->ctx, button, item->args.groups);
     WIDGET_ADD_CSS_CLASS(button, "flat");
-    ui_setup_togglebutton(obj, button, item->args.label, item->args.icon, NULL/*tooltip*/, item->args.varname, NULL, item->args.onchange, item->args.onchangedata, 0);
+    ui_setup_togglebutton(obj, button, item->args.label, item->args.icon, item->args.tooltip, item->args.varname, NULL, item->args.onchange, item->args.onchangedata, 0);
     headerbar_add(headerbar, box, button, pos);
 }
 

mercurial