Patch for bug #65087



Hi,

    Removing the GTK_WIDGET_REALIZED (widget) condition solves the
problem.
    Below is the attached diff. Is it ok? If yes, can someone check in
this change.
    I don't have cvs access.

Thanks,
Arvind

--- gtkwidget.c Fri Feb 15 15:39:39 2002
+++ ../../gtk+-new/gtk/gtkwidget.c      Fri Feb 15 15:40:33 2002
@@ -1695,7 +1695,7 @@ gtk_widget_hide (GtkWidget *widget)
     {
       gtk_widget_ref (widget);
       gtk_signal_emit (GTK_OBJECT (widget), widget_signals[HIDE]);
-      if (!GTK_WIDGET_TOPLEVEL (widget) && GTK_WIDGET_REALIZED
(widget))
+      if (!GTK_WIDGET_TOPLEVEL (widget))
        gtk_widget_queue_resize (widget);
       g_object_notify (G_OBJECT (widget), "visible");
       gtk_widget_unref (widget);


**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************


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