Re: notebook



Dennis Bjorklund <db zigo dhs org> writes:
> This is a signal from GtkNotebook
> 
>   void (* switch_page)       (GtkNotebook     *notebook,
>                               GtkNotebookPage *page,
>                               guint            page_num);
> 
> yet GtkNotebookPage is an internal type and there are no functions that 
> works on it (that i can find). How can the handler ever use this
> value?

It can't. It's just there for back compat.

> I guess it should be GtkWidget * instead?
> 
> Should I file a bugreport?

I think a bug report saying that the parameter should be changed to
"gpointer unused_placeholder" might be nice.

Havoc



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