Re: Is this function actually in gtk 2.2: gtk_notebook_get_n_pages ()



The function gtk_notebook_get_n_pages ought to be in libgtk-x11-2.0.so.0.200.1.

Try nm libgtk-x11-2.0.so.0.200.1 | grep n_pages. Also do ldd on your binary to 
check it is loading the correct version of the library.

Padraig

> 
> Hi,
> 
> I am using notebook tabs, and I had to instal GTK 2.2 in order to use this
> function:
> 
> gint        gtk_notebook_get_n_pages        (GtkNotebook *notebook);
> 
> Everything compiles, but when i run my program, this line:
> 
> pages = gtk_notebook_get_n_pages(GTK_NOTEBOOK (im_note) );
> 
> but I get this run time error: 
> 
> ./apimp: relocation error: ./apimp: undefined symbol: gtk_notebook_get_n_pages
> 
> 
> where apimp is my program name.
> 
> any ideas?
> 
> -- 
> Arash Nikkar
> arash umail ucsb edu
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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