Re: gtk_adjustment_get_value()

2002-06-07 Thread Sven Neumann

Hi,

David J. Singer [EMAIL PROTECTED] 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

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



gtk_adjustment_get_value()

2002-06-06 Thread David J. Singer


OK, it's late and I'm probably going mad.

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...!?

-- 
David J. Singer
[EMAIL PROTECTED]
Time flies like an arrow, fruit flies like a banana
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list