From 5cc8e92ad9fb04792682b474a670aaa803666f78 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Wed, 03 Aug 2005 05:49:48 +0000 Subject: Copy-paste g_file_set_contents to keep compatibility with gtk 2.6 Fix for bug 312228 --- (limited to 'shell/ev-utils.h') diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 084a285..9875a95 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -28,6 +28,14 @@ G_BEGIN_DECLS GdkPixbuf *ev_pixbuf_add_shadow (GdkPixbuf *src, int size, int x_offset, int y_offset, double opacity); +#ifndef HAVE_G_FILE_SET_CONTENTS + +gboolean ev_file_set_contents (const gchar *filename, + const gchar *contents, + gssize length, + GError **error); +#endif /* HAVE_G_FILE_SET_CONTENTS */ + G_END_DECLS #endif /* __EV_VIEW_H__ */ -- cgit v0.9.1