Re: Gtk Text View Question
- From: Thomas Dineen <tdineen ix netcom com>
- To: David Nečas <yeti physics muni cz>
- Cc: gtk-list gnome org
- Subject: Re: Gtk Text View Question
- Date: Mon, 30 Sep 2013 08:46:27 -0700
Yeti:
I tried it again with your command line adjusted for csh:
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
On 9/29/2013 11:47 AM, David Nečas wrote:
On Sun, Sep 29, 2013 at 11:22:12AM -0700, Thomas Dineen wrote:
The following symbol seems to be missing or deprecated form
the Gtk+-2.0 library.
I suppose you mean Gtk+ 2.x in general, not exactly version 2.0.
gtk_text_view_get_vadjustment
The symbol is present in both Gtk+ 2.x and 3.x. It is deprecated *only*
in 3.x where it is superseded by a method of the GtkScrollable
interface.
Can you please post a simple example of Gtk Text View with scrollbar
that will compile in Gtk+-2.0.
Your own example compiles fine with
gcc -Wall -o example example.c $(pkg-config --cflags --libs gtk+-2.0)
Regards,
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]