aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2006-07-03 15:42:48 +0000
committerRichard M. Stallman2006-07-03 15:42:48 +0000
commite3d566134a1baa75beed1c999edffaa70faf1e58 (patch)
tree1a6adb71b92a03cdda441fce0fb37b2833934d00 /src
parent2d6228e79e351e1f46a158b6a1b1e891a4d9aae5 (diff)
downloademacs-e3d566134a1baa75beed1c999edffaa70faf1e58.tar.gz
emacs-e3d566134a1baa75beed1c999edffaa70faf1e58.zip
(Fx_create_frame): Move unwind_create_frame setup down.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 55575d9ec61..dd0510cf0fa 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3075,7 +3075,6 @@ This function is an internal primitive--use `make-frame' instead. */)
3075 f->output_data.x->scroll_bar_top_shadow_pixel = -1; 3075 f->output_data.x->scroll_bar_top_shadow_pixel = -1;
3076 f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; 3076 f->output_data.x->scroll_bar_bottom_shadow_pixel = -1;
3077#endif /* USE_TOOLKIT_SCROLL_BARS */ 3077#endif /* USE_TOOLKIT_SCROLL_BARS */
3078 record_unwind_protect (unwind_create_frame, frame);
3079 3078
3080 f->icon_name 3079 f->icon_name
3081 = x_get_arg (dpyinfo, parms, Qicon_name, "iconName", "Title", 3080 = x_get_arg (dpyinfo, parms, Qicon_name, "iconName", "Title",
@@ -3084,6 +3083,9 @@ This function is an internal primitive--use `make-frame' instead. */)
3084 f->icon_name = Qnil; 3083 f->icon_name = Qnil;
3085 3084
3086 FRAME_X_DISPLAY_INFO (f) = dpyinfo; 3085 FRAME_X_DISPLAY_INFO (f) = dpyinfo;
3086
3087 /* With FRAME_X_DISPLAY_INFO set up, this unwind-protect is safe. */
3088 record_unwind_protect (unwind_create_frame, frame);
3087#if GLYPH_DEBUG 3089#if GLYPH_DEBUG
3088 image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; 3090 image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount;
3089 dpyinfo_refcount = dpyinfo->reference_count; 3091 dpyinfo_refcount = dpyinfo->reference_count;