Re: gtk_widget_set_uposition() in Gtk-2.0?



Hi,

"David J. Singer" <doc deadvirgins org uk> writes:

> I notice from the documentation that gtk_widget_set_uposition()
> is deprecated in Gtk-2.0, but there is no mention of how the same
> functionality should be implemented...  Can anyone tell me?

This function is only really useful on a window, so you are supposed
to use gtk_window_set_position() instead.
 
> As a related point, even when I define GTK_DISABLE_DEPRECATED,
> I get no errors or warnings when trying to use deprecated functions.
> Have I misinterpreted the function of this flag?

Are you compiling with the compiler flag -Wall? If not, I strongly
suggest you do.


Sven




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