Hi List!

The GTK function: gtk_tree_view_expand_to_path (available since GTK version 2.2) is 
used in the file proto_draw.c. 

As this is the *only* function used from GTK version 2.2, and not included in GTK 
version 2.0 (which I'm using), I would ask if this function has to be used.

As a workaround, we could to something like this?!?:

#if GTK_MAJOR_VERSION >= 2.2
        gtk_tree_view_expand_to_path(info.tree_view, path);
#else
        gtk_tree_view_expand_row(info.tree_view, path, FALSE);
#endif


Or in a more general manner: do we want to force all developers, who wants to compile 
on GTK2, to use version 2.2?

Regards, ULFL
______________________________________________________________________________
Zwei Mal Platz 1 mit dem jeweils besten Testergebnis! WEB.DE FreeMail
und WEB.DE Club bei Stiftung Warentest! http://f.web.de/?mc=021183

Reply via email to