ElectricEyes patch for new gdk_imlib




This should clear up the minor change from the older gdk_imlib to the
one included with imlib 1.0.

Aaron Eppert
(aeppert@indiana.edu)

---
diff -ruN ElectricEyes/COMPILE ElectricEyes-working/COMPILE
--- ElectricEyes/COMPILE	Fri Jan 30 15:58:17 1998
+++ ElectricEyes-working/COMPILE	Tue Feb 10 19:17:26 1998
@@ -1,4 +1,4 @@
-gcc -O2 -m486 -L/usr/X11/lib -L/usr/X11R6/lib -I/usr/X11R6/include/ \
--I/usr/X11/include -L/usr/local/lib -I/usr/local/include \
+gcc -O2 -m486 -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/lib -I/usr/X11R6/include/ \
+-I/usr/X11/include -L/usr/local/lib -I/usr/include -I/usr/local/include \
 -lgdk_imlib -lglib -ljpeg -lpng -ltiff -lz -lm -lX11 -lXext -lgtk -lgdk \
 main.c file.c globals.c eelogo.c icons.c -o ee
diff -ruN ElectricEyes/main.c ElectricEyes-working/main.c
--- ElectricEyes/main.c	Fri Jan 30 15:59:03 1998
+++ ElectricEyes-working/main.c	Tue Feb 10 19:21:49 1998
@@ -185,7 +185,7 @@
 	im2=gdk_imlib_clone_scaled_image(im,w,h);
 	gdk_imlib_render(im2,w,h);
 	p=gdk_imlib_move_image(im2);
-	gdk_save_image_to_ppm(im2,s);
+	gdk_imlib_save_image_to_ppm(im2,s);
 	gdk_imlib_kill_image(im2);
 	gdk_imlib_destroy_image(im);
      }
@@ -1590,7 +1590,7 @@
    else
      {
 	file=gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs));
-	gdk_save_image_to_ppm(image,file);
+	gdk_imlib_save_image_to_ppm(image,file);
 	no_file(filesel,NULL);
      }
 }



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