Re: Strange warning when adding gtk_status_bar to gtk_hbox
- From: Mikael Hallendal <micke imendio com>
- To: Torsten Reuss <torsten reuss gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Strange warning when adding gtk_status_bar to gtk_hbox
- Date: Mon, 28 Jan 2008 15:13:33 +0100
27 jan 2008 kl. 15.22 skrev Torsten Reuss:
Hi,
Hi all,
I'm in the process of porting an application from GTK 1.2 to GTK
2.12. One
thing I can't get behind is a warning I am getting concerning a
gtk_status_bar widget. The warning:
Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW
(window)'
failed
It looks odd that that the code you pasted will give this warning and
it sounds like it's actually coming from some other part.
Just one thing I noticed though (not sure if it is just here or if you
actually pasted code) is that you leak a GtkStatusBar.
and it is issued by the following code:
GtkWidget * _status_bar = gtk_statusbar_new();
^^^- this one
Cheers,
Mikael Hallendal
--
Imendio AB, http://www.imendio.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]