Re: trouble subclassing GtkScrolledWindow



*sigh*

On Wed, 2005-06-08 at 11:30, Alan M. Evans wrote:
Hiya!

See:
http://mail.gnome.org/archives/gtk-app-devel-list/2003-June/msg00146.html
and
http://mail.gnome.org/archives/gtk-app-devel-list/2004-March/msg00279.html

There's really not much more to say inasmuch as my problem is precisely
what they describe. But nobody responded on the list to either of these
messages.

In short, I subclass GtkScrolledWindow and in my init function pack in a
GtkTextView. All pretty boilerplate at this point. When I create an
instance of this class, the following error appears three times:

(test_etcterminal:7321): Gtk-CRITICAL **: file gtkrange.c: line 440
(gtk_range_get_adjustment): assertion `GTK_IS_RANGE (range)' failed

And everything seems to work, although I haven't tried much aside from
putting some text in the buffer to see if the scrollbars work (they do).
But having my application report "CRITICAL" errors is, well,
troublesome.

If someone really wants to try, the sources that demonstrate this are
at: http://alanevans.org/etcterminal/

-Alan


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Alan M. Evans <ame1 extratech com>




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