]> code.delx.au - gnu-emacs/commitdiff
(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Sep 2005 05:42:12 +0000 (05:42 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Sep 2005 05:42:12 +0000 (05:42 +0000)
[TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple file
selection.

src/macfns.c

index 160eb1f77744d15229f517633b62df0a6b329d67..3c92499701b85115f396aa2e8ee1eff946845564 100644 (file)
@@ -94,6 +94,11 @@ Lisp_Object Qcancel_timer;
 
 extern Lisp_Object Vwindow_system_version;
 
+#if GLYPH_DEBUG
+int image_cache_refcount, dpyinfo_refcount;
+#endif
+
+
 #if 0 /* Use xstricmp instead.  */
 /* compare two strings ignoring case */
 
@@ -4145,6 +4150,7 @@ If ONLY-DIR-P is non-nil, the user can only select directories.  */)
     options.optionFlags = kNavDefaultNavDlogOptions;
     options.optionFlags |= kNavAllFilesInPopup;  /* All files allowed */
     options.optionFlags |= kNavSelectAllReadableItem;
+    options.optionFlags &= ~kNavAllowMultipleFiles;
     if (!NILP(prompt))
       {
        message = cfstring_create_with_string (prompt);