From: Masatake YAMATO <jet@gyve.org>
Subject: x_find_image_file
Date: Fri, 12 Mar 2004 14:12:23 +0900 (JST) [thread overview]
Message-ID: <20040312.141223.95842688.jet@gyve.org> (raw)
With --with-gtk, make claims that it cannot find x_find_image_file.
I've removed static modifiers but I'm not sure this is true fix or not.
Masatake YAMATO
Index: src/xfns.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xfns.c,v
retrieving revision 1.607
diff -u -r1.607 xfns.c
--- src/xfns.c 11 Mar 2004 00:25:38 -0000 1.607
+++ src/xfns.c 12 Mar 2004 05:08:24 -0000
@@ -761,7 +761,7 @@
#ifdef USE_GTK
-static Lisp_Object x_find_image_file P_ ((Lisp_Object file));
+extern Lisp_Object x_find_image_file P_ ((Lisp_Object file));
/* Set icon from FILE for frame F. By using GTK functions the icon
may be any format that GdkPixbuf knows about, i.e. not just bitmaps. */
Index: src/image.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/image.c,v
retrieving revision 1.4
diff -u -r1.4 image.c
--- src/image.c 11 Mar 2004 22:43:06 -0000 1.4
+++ src/image.c 12 Mar 2004 05:08:24 -0000
@@ -1998,7 +1998,7 @@
File Handling
***********************************************************************/
-static Lisp_Object x_find_image_file P_ ((Lisp_Object));
+Lisp_Object x_find_image_file P_ ((Lisp_Object));
static unsigned char *slurp_file P_ ((char *, int *));
@@ -2006,7 +2006,7 @@
x-bitmap-file-path. Value is the full name of the file found, or
nil if not found. */
-static Lisp_Object
+Lisp_Object
x_find_image_file (file)
Lisp_Object file;
{
Index: src/ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ChangeLog,v
retrieving revision 1.3580
diff -u -r1.3580 ChangeLog
--- src/ChangeLog 11 Mar 2004 22:48:33 -0000 1.3580
+++ src/ChangeLog 12 Mar 2004 05:08:26 -0000
@@ -1,3 +1,9 @@
+2004-03-12 Masatake YAMATO <jet@gyve.org>
+
+ * xfns.c(x_find_image_file): Add extern.
+
+ * image.c(x_find_image_file): Make it global.
+
2004-03-12 Kim F. Storm <storm@cua.dk>
Fix image support on MAC. From YAMAMOTO Mitsuharu.
next reply other threads:[~2004-03-12 5:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 5:12 Masatake YAMATO [this message]
2004-03-14 1:31 ` x_find_image_file Kim F. Storm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040312.141223.95842688.jet@gyve.org \
--to=jet@gyve.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).