# HG changeset patch # User Olaf Wintermann # Date 1765827153 -3600 # Node ID 3cbb6e72aaedae6af8603e51b80adad28f48df4e # Parent a2070417b2801825fbe17d9fc1e69741c5bce537 fix gtk3 build diff -r a2070417b280 -r 3cbb6e72aaed ui/gtk/headerbar.h --- a/ui/gtk/headerbar.h Sun Dec 14 21:03:19 2025 +0100 +++ b/ui/gtk/headerbar.h Mon Dec 15 20:32:33 2025 +0100 @@ -59,7 +59,7 @@ #define UI_HEADERBAR_SHOW_TITLE_WIDGET(h, b) gtk_header_bar_set_show_title(GTK_HEADER_BAR(h), b) #else #define UI_HEADERBAR_SET_TITLE_WIDGET(h, w) gtk_header_bar_set_custom_title(GTK_HEADER_BAR(h), w) -#define UI_HEADERBAR_SHOW_TITLE_WIDGET(h, b) gtk_header_bar_set_show_title(GTK_HEADER_BAR(h), b) +#define UI_HEADERBAR_SHOW_TITLE_WIDGET(h, b) #endif #endif diff -r a2070417b280 -r 3cbb6e72aaed ui/gtk/list.c --- a/ui/gtk/list.c Sun Dec 14 21:03:19 2025 +0100 +++ b/ui/gtk/list.c Mon Dec 15 20:32:33 2025 +0100 @@ -1560,7 +1560,7 @@ UiListSelection ui_listview_getselection(UiList *list) { UiListView *view = list->obj; - UiListSelection selection = ui_listview_selection( + UiListSelection selection = ui_listview_get_selection( gtk_tree_view_get_selection(GTK_TREE_VIEW(view->widget)), NULL); return selection; @@ -1713,7 +1713,7 @@ GtkTreeViewColumn *column, UiTreeEventData *event) { - UiListSelection selection = ui_listview_selection( + UiListSelection selection = ui_listview_get_selection( gtk_tree_view_get_selection(treeview), event); @@ -1735,7 +1735,7 @@ GtkTreeSelection *treeselection, UiTreeEventData *event) { - UiListSelection selection = ui_listview_selection(treeselection, event); + UiListSelection selection = ui_listview_get_selection(treeselection, event); UiEvent e; e.obj = event->obj; @@ -1751,7 +1751,7 @@ } } -UiListSelection ui_listview_selection( +UiListSelection ui_listview_get_selection( GtkTreeSelection *selection, UiTreeEventData *event) { diff -r a2070417b280 -r 3cbb6e72aaed ui/gtk/list.h --- a/ui/gtk/list.h Sun Dec 14 21:03:19 2025 +0100 +++ b/ui/gtk/list.h Mon Dec 15 20:32:33 2025 +0100 @@ -177,7 +177,7 @@ void ui_listview_selection_event( GtkTreeSelection *treeselection, UiTreeEventData *event); -UiListSelection ui_listview_selection( +UiListSelection ui_listview_get_selection( GtkTreeSelection *selection, UiTreeEventData *event); int ui_tree_path_list_index(GtkTreePath *path);