Re: Gtk Text View Question
- From: Tadej Borovšak <tadeboro gmail com>
- To: gtk-list gnome org
- Subject: Re: Gtk Text View Question
- Date: Mon, 30 Sep 2013 20:54:53 +0200
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 gmail com
tadeboro gmail com
blog.borovsak.si
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]