Commit bae5667c authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

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.
parent 8b720114
......@@ -4,7 +4,7 @@ Makefile.in
.deps
_libs
.libs
libgdk-1.1.la
libgdk-*.la
gdkcursors.h
gdkkeysyms.h
libgdk.la
......
*.lo
Makefile
Makefile.in
.deps
_libs
.libs
*.la
gxid
......@@ -4,7 +4,7 @@ Makefile.in
.deps
_libs
.libs
libgtk-1.1.la
libgtk-*.la
testcalendar
testgtk
testinput
......
......@@ -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;
......
......@@ -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);
}
/*
......
......@@ -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);
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment