diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-03 05:49:48 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-03 05:49:48 (GMT) |
commit | 5cc8e92ad9fb04792682b474a670aaa803666f78 (patch) | |
tree | 8410db4dff1ac44f5232437d7a9a478d83f88679 /shell/ev-utils.h | |
parent | 7e15d3de9bdacdb70789a1602ddfad00faac1963 (diff) |
Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
Fix for bug 312228
Diffstat (limited to 'shell/ev-utils.h')
-rw-r--r-- | shell/ev-utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
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__ */ |