Re: Gtk Text View Question

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

 



Hi.

> Sun5# gcc -Wall `pkg-config --cflags --libs gtk+-2.0` Test1.c -o Test1
> Test1.c: In function `createConsoleBox':
> Test1.c:6: warning: implicit declaration of function 
> `gtk_text_view_get_vadjustment'
> Test1.c:6: warning: passing arg 1 of `gtk_vscrollbar_new' makes pointer 
> from integer without a cast
> Undefined                       first referenced
>   symbol                             in file
> gtk_text_view_get_vadjustment       /var/tmp//ccS4tO2f.o
> ld: fatal: Symbol referencing errors. No output written to Test1
> collect2: ld returned 1 exit status
> 
> Thomas Dineen

What version of GTK+ is installed on your machine? get_vadjustment()
function is only available since GTK+-2.22. You can check your version
like this:

  pkg-config --modversion gtk+-2.0

Cheers,
Tadej

-- 
Tadej Borovšak
tadej.borovsak@xxxxxxxxx
tadeboro@xxxxxxxxx
blog.borovsak.si

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux