Call gdk_window_withdraw rather than gdk_window_hide; this makes things

Mon Jun 12 16:58:40 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_unmap): Call gdk_window_withdraw
	rather than gdk_window_hide; this makes things work
	correctly if the window is programmatically hidden while
	iconified.
This commit is contained in:
Owen Taylor 2000-06-12 21:08:07 +00:00 committed by Owen Taylor
parent 8b72011482
commit bae5667ca3
6 changed files with 13 additions and 5 deletions

View File

@ -4,7 +4,7 @@ Makefile.in
.deps
_libs
.libs
libgdk-1.1.la
libgdk-*.la
gdkcursors.h
gdkkeysyms.h
libgdk.la

8
gdk/nanox/.cvsignore Normal file
View File

@ -0,0 +1,8 @@
*.lo
Makefile
Makefile.in
.deps
_libs
.libs
*.la
gxid

View File

@ -4,7 +4,7 @@ Makefile.in
.deps
_libs
.libs
libgtk-1.1.la
libgtk-*.la
testcalendar
testgtk
testinput

View File

@ -981,7 +981,7 @@ gtk_window_unmap (GtkWidget *widget)
g_return_if_fail (GTK_IS_WINDOW (widget));
GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED);
gdk_window_hide (widget->window);
gdk_window_withdraw (widget->window);
window = GTK_WINDOW (widget);
window->use_uposition = TRUE;

View File

@ -269,7 +269,7 @@ create_buttons (void)
if (!GTK_WIDGET_VISIBLE (window))
gtk_widget_show_all (window);
else
gtk_widget_destroy (window);
gtk_widget_hide (window);
}
/*

View File

@ -269,7 +269,7 @@ create_buttons (void)
if (!GTK_WIDGET_VISIBLE (window))
gtk_widget_show_all (window);
else
gtk_widget_destroy (window);
gtk_widget_hide (window);
}
/*