Signal error in GtkTreeSelection



 Hi,

Is the declaration of the 'changed' signal in GtkTreeSelection correct:

struct _GtkTreeSelectionClass
{
 GObjectClass parent_class;

 void (* changed) (GtkTreeView *tree_view);
};

or should it be:

struct _GtkTreeSelectionClass
{
 GObjectClass parent_class;

 void (* changed) (GtkTreeSeelction *selection);
};

All the functions in 'gtktreeselection.c' that emit this signal pass 'G_OBJECT(selection)' as the first parameter not 'G_OBJECT(tree_view)'.

Jeff.








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]