fix gtk3 build

Mon, 15 Dec 2025 20:32:33 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 15 Dec 2025 20:32:33 +0100
changeset 1009
3cbb6e72aaed
parent 1007
a2070417b280
child 1010
d18bde6cbf8f

fix gtk3 build

ui/gtk/headerbar.h file | annotate | diff | comparison | revisions
ui/gtk/list.c file | annotate | diff | comparison | revisions
ui/gtk/list.h file | annotate | diff | comparison | revisions
--- 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
     
--- 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)
 {
--- 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);

mercurial