Re: Ref - Unref Problem



Hi All,
       I have problem when I run my gtk application.
I have created a window, and in that window defined 4-Areas
using 4- hboxes. In hbox1 , I am usually changing the
display contains on particular button-click event.
	But when I click the space button, the area gets displayed
with the same contents, now the contents are displayed twice in 
that h-box thus creating the problem.

Here is the list of errors it showing :

Gtk-CRITICAL **: file gtkwidget.c: line 4879 (gtk_widget_unref):
assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkobject.c: line 1179 (gtk_object_unref):
assertion `object->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkobject.c: line 1179 (gtk_object_unref):
assertion `object->ref_count > 0' failed.

Gtk-CRITICAL **: file gtkrc.c: line 691 (gtk_rc_style_unref):
assertion `private->ref_count > 0' failed.


And after that the application got crashed.

	So please help me to get out of this problem.


Sorry for trouble.




=====
Ravindra  T.  Dolas,
Pune-INDIA

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



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