Re: gtk_adjustment_get_value()
- From: Sven Neumann <sven gimp org>
- To: doc deadvirgins org uk
- Cc: gtk-list gnome org
- Subject: Re: gtk_adjustment_get_value()
- Date: 07 Jun 2002 14:33:50 +0200
Hi,
"David J. Singer" <doc deadvirgins org uk> writes:
> I've been playing around with Gtk Adjustments and have found some
> useful examples.... My problem is, everything works just fine until
> I try and call gtk_adjustment_get_value(), then it gets weird...!
>
> My compilation fails with: undefined reference to `gtk_adjustment_get_value'
>
> Why is this!? The call is documented in the Gtk tutorial. I've even seen
> it mentioned on this list....!
>
> I'm using Gtk 1.2. Have I missed something *really* obvious...!?
yes, you read the tutorial for GTK+-2.0. gtk_adjustment_get_value() is
not available in GTK+-1.2. There you need to access the struct member
directly, i.e. use GTK_ADJUSTMENT (adj)->value.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]