X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdialog-x.c;h=9b32e5adc62a2f5d093a204be9d247f25a62a050;hb=8102beb3c89559a36ffa287184fe7cae1d541de4;hp=398576181975d3cede1e0777da3c13b3cdeb1f32;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb;p=chise%2Fxemacs-chise.git.1 diff --git a/src/dialog-x.c b/src/dialog-x.c index 3985761..9b32e5a 100644 --- a/src/dialog-x.c +++ b/src/dialog-x.c @@ -105,7 +105,7 @@ dbox_selection_callback (Widget widget, LWLIB_ID id, XtPointer client_data) ourselves. */ #ifdef EXTERNAL_WIDGET /* #### Not sure if this special case is necessary. */ - if (!FRAME_X_EXTERNAL_WINDOW_P (f) && f) + if (f && !FRAME_X_EXTERNAL_WINDOW_P (f)) #else if (f) #endif @@ -128,7 +128,9 @@ dbox_descriptor_to_widget_value (Lisp_Object keys) int n = 0; int count = specpdl_depth (); Lisp_Object wv_closure, gui_item; - Lisp_Object question = Qnil, title = Qnil, buttons = Qnil; + Lisp_Object question = Qnil; + Lisp_Object title = Qnil; /* #### currently unused */ + Lisp_Object buttons = Qnil; { EXTERNAL_PROPERTY_LIST_LOOP_3 (key, value, keys)