Quick hack to get gnome-admin to compile



This is a quick hack I needed to do to get gnome-admin to compile, it
needs to be applied to gnome-admin/logview/about.c (CVS from a minute ago)
I wouldn't want to see this put in the main source though, it's obviously
not consistant with the rest of the logview code.  It does seem to work
however, go figure.


--- about.c.orig        Mon Apr 19 16:33:00 1999
+++ about.c     Mon Apr 19 16:29:18 1999
@@ -45,7 +45,7 @@
 
   /* Log viewerimage */
   logviewpix = gdk_pixmap_create_from_xpm_d (window, &mask, NULL,
logviewxpm);
-  logpix = gdk_pixmap_create_from_xpm_d (window, &mask, NULL, logxpm);
+  logpix = gdk_pixmap_create_from_xpm (window, &mask, NULL, "log.xpm");
 }
 
 void



The original compile error is:
wraith:/usr/src/cvs/gnome/gnome-admin/logview$ make
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/local/lib/gtk+/include
-I/usr/X11R6/include            -DLOGVIEWINSTALLPREFIX=\""/usr/local/\""
-I/usr/local/lib/gtk+/include -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include  -g -O2 -c about.c
about.c: In function `AboutCreatePixmaps':
about.c:48: `logxpm' undeclared (first use this function)
about.c:48: (Each undeclared identifier is reported only once
about.c:48: for each function it appears in.)
make: *** [about.o] Error 1

--

Jamie Fifield <fifield@cs.dal.ca>

Using encryption on the Internet is the equivalent of arranging
an armored car to deliver credit-card information from someone
living in a cardboard box to someone living on a park bench.
		      Gene Spafford




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]