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);