# HG changeset patch # User Olaf Wintermann # Date 1455640773 -3600 # Node ID 55adc92e7c0985a0b343adefdd1635a8653518c1 # Parent e82b01d17a78f418d4c4d2ab07acf414e6e4ab09 fixed build with older gtk3 diff -r e82b01d17a78 -r 55adc92e7c09 ui/gtk/tree.c --- a/ui/gtk/tree.c Fri Jan 29 19:11:15 2016 +0100 +++ b/ui/gtk/tree.c Tue Feb 16 17:39:33 2016 +0100 @@ -55,9 +55,13 @@ gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(view), FALSE); #ifdef UI_GTK3 +#if GTK_MINOR_VERSION >= 8 gtk_tree_view_set_activate_on_single_click(GTK_TREE_VIEW(view), TRUE); #else - + // TODO: implement for older gtk3 +#endif +#else + // TODO: implement for gtk2 #endif UiModelInfo *modelinfo = ui_model_info(obj->ctx, UI_STRING, "", -1);