Re: gtk 1.2.5 tooltip warning
- From: Owen Taylor <otaylor redhat com>
- To: Jens Askengren <ebo000441 ktv eboab se>
- Cc: gtk-list redhat com
- Subject: Re: gtk 1.2.5 tooltip warning
- Date: 29 Sep 1999 14:44:51 -0400
Jens Askengren <ebo000441@ktv.eboab.se> writes:
> When running any program (including testgtk) with tooltips 
> I sometimes get the following warning when a tip pops up:
> 
> Gtk-CRITICAL **: file gtkcontainer.c: line 739
> (gtk_container_dequeue_resize_handler): assertion
> `GTK_CONTAINER_RESIZE_PENDING (container)' failed.
> 
> It seems that only tooltips orginating from widgets in a toolbar will
> generate this warning.
This has alredy been fixed in CVS. We'll put out a 1.2.6 including
this fix soon.
Regards,
                                        Owen
--- gtk+-1.2.5/gtk/gtkcontainer.c.resizewarn	Sat Sep 25 17:43:51 1999
+++ gtk+-1.2.5/gtk/gtkcontainer.c	Sat Sep 25 17:43:58 1999
@@ -875,7 +875,8 @@
   
   if (resize_container)
     {
-      if (GTK_WIDGET_DRAWABLE (resize_container))
+      if (GTK_WIDGET_VISIBLE (resize_container) &&
+	  (GTK_WIDGET_TOPLEVEL (resize_container) || GTK_WIDGET_DRAWABLE (resize_container)))
 	{
 	  switch (resize_container->resize_mode)
 	    {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]