Ethereal-dev: [Ethereal-dev] gtk/proto_draw.c(1469): gtk_tree_view_expand_to_path from GTK2.2

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ulf Lamping" <ulf.lamping@xxxxxx>
Date: Thu, 23 Oct 2003 15:59:49 +0200
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