comparison src/frame-gtk.c @ 2195:23d90a805259

[xemacs-hg @ 2004-07-31 12:03:05 by malcolmp] Fix cases where GTK scrollbars are left in the middle of a frame.
author malcolmp
date Sat, 31 Jul 2004 12:03:05 +0000
parents 95fee4a1420e
children 61855263cb07
comparison
equal deleted inserted replaced
2194:9b40b475f33f 2195:23d90a805259
1269 1269
1270 /* Change from withdrawn state to mapped state. */ 1270 /* Change from withdrawn state to mapped state. */
1271 static void 1271 static void
1272 gtk_make_frame_visible (struct frame *f) 1272 gtk_make_frame_visible (struct frame *f)
1273 { 1273 {
1274 gtk_widget_show_all (FRAME_GTK_SHELL_WIDGET (f)); 1274 gtk_widget_map (FRAME_GTK_SHELL_WIDGET (f));
1275 gtk_raise_frame_1 (f, 0); 1275 gtk_raise_frame_1 (f, 0);
1276 } 1276 }
1277 1277
1278 /* Change from mapped state to withdrawn state. */ 1278 /* Change from mapped state to withdrawn state. */
1279 static void 1279 static void
1280 gtk_make_frame_invisible (struct frame *f) 1280 gtk_make_frame_invisible (struct frame *f)
1281 { 1281 {
1282 gtk_widget_hide (FRAME_GTK_SHELL_WIDGET (f)); 1282 gtk_widget_unmap(FRAME_GTK_SHELL_WIDGET (f));
1283 } 1283 }
1284 1284
1285 static int 1285 static int
1286 gtk_frame_visible_p (struct frame *f) 1286 gtk_frame_visible_p (struct frame *f)
1287 { 1287 {