[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: prototype.h
User: peterb
Date: 07/05/10 08:45:12
Modified: . prototype.h
Log:
Provide g_file_set_contents() if GLib < 2.8.
Patch from Ivan Stankovic, fixing problem with recent files
support where gschem didn't work on systems with older versions
of GLib, due to g_file_set_contents() not being available.
Revision Changes Path
1.171 +5 -1 eda/geda/gaf/gschem/include/prototype.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: prototype.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/include/prototype.h,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -b -r1.170 -r1.171
--- prototype.h 5 May 2007 12:40:44 -0000 1.170
+++ prototype.h 10 May 2007 12:45:12 -0000 1.171
@@ -1,4 +1,4 @@
-/* $Id: prototype.h,v 1.170 2007/05/05 12:40:44 peterb Exp $ */
+/* $Id: prototype.h,v 1.171 2007/05/10 12:45:12 peterb Exp $ */
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy,
@@ -838,6 +838,10 @@
void recent_files_load();
void recent_files_save();
void recent_files_add(const char *filename);
+#if !GLIB_CHECK_VERSION(2,8,0)
+gboolean g_file_set_contents(const gchar *filename, const gchar *contents,
+ gssize length, GError **error);
+#endif
/* x_multiattrib.c */
void x_multiattrib_open (TOPLEVEL *toplevel, OBJECT *object);
/* x_multimulti.c */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs