Re: [gtk-list] gtk_notebook and gtk_list [patch]
- From: Owen Taylor <owt1 cornell edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_notebook and gtk_list [patch]
- Date: 23 Jul 1997 23:58:11 -0400
"Shawn T. Amundson" <amundson@CompleteIS.com> writes:
> Has anyone else tried to put a gtk_list into a gtk_notebook? It
> seems once the gtk_list is displayed, it doesn't go away even when
> you select a page it shouldn't be in.
This patch should fix the problem:
*** ../../gtk+-orig/gtk/gtklist.c Fri Jun 6 03:01:57 1997
--- ./gtklist.c Wed Jul 23 23:53:08 1997
***************
*** 541,553 ****
static void
gtk_list_unmap (GtkWidget *widget)
{
- GtkList *list;
-
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_LIST (widget));
GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED);
! list = GTK_LIST (widget);
}
static void
--- 541,551 ----
static void
gtk_list_unmap (GtkWidget *widget)
{
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_LIST (widget));
GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED);
! gdk_window_hide (widget->window);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]