Re: Patch for bug #65087



Hi Arvind,

Your best plan is to also attach the patch to the bug.

Padraig

> Delivered-To: gtk-devel-list gnome org
> X-Accept-Language: en
> MIME-Version: 1.0
> To: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
> Cc: hp redhat com
> Subject: Patch for bug #65087
> X-BeenThere: gtk-devel-list gnome org
> X-Loop: gtk-devel-list gnome org
> X-Mailman-Version: 2.0.6
> List-Help: <mailto:gtk-devel-list-request gnome org?subject=help>
> List-Post: <mailto:gtk-devel-list gnome org>
> List-Subscribe: <http://mail.gnome.org/mailman/listinfo/gtk-devel-list>, 
<mailto:gtk-devel-list-request gnome org?subject=subscribe>
> List-Id: Development of GTK+ <gtk-devel-list.gnome.org>
> List-Unsubscribe: <http://mail.gnome.org/mailman/listinfo/gtk-devel-list>, 
<mailto:gtk-devel-list-request gnome org?subject=unsubscribe>
> List-Archive: <http://mail.gnome.org/archives/gtk-devel-list/>
> 
> 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);
> 
> 




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