aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-12-17 21:34:10 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-12-17 21:34:10 +0800
commit47426ed3a62e9a1e0930b427da9651328a5f615f (patch)
treef85345facaf912bee297ef629be6e4cd29a85eac /calendar/gui/e-itip-control.c
parentab3120eb9a4f51883231eea0879ad2b5da55d8ae (diff)
downloadgsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.tar
gsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.tar.gz
gsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.tar.bz2
gsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.tar.lz
gsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.tar.xz
gsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.tar.zst
gsoc2013-evolution-47426ed3a62e9a1e0930b427da9651328a5f615f.zip
Use gstdio wrappers.
2005-12-17 Tor Lillqvist <tml@novell.com> * gui/e-itip-control.c: Use gstdio wrappers. svn path=/trunk/; revision=30810
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 99c42a25cb..f840856bd7 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -30,6 +30,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <glib.h>
+#include <glib/gstdio.h>
#include <gtk/gtkmisc.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
@@ -51,12 +52,13 @@
#include <libedataserver/e-time-utils.h>
#include <e-util/e-dialog-widgets.h>
#include <e-util/e-html-utils.h>
+#include <e-util/e-icon-factory.h>
+#include <e-util/e-util-private.h>
#include "dialogs/delete-error.h"
#include "calendar-config.h"
#include "itip-utils.h"
#include "e-itip-control.h"
#include "common/authentication.h"
-#include <e-util/e-icon-factory.h>
struct _EItipControlPrivate {
GtkWidget *html;
@@ -2090,7 +2092,7 @@ url_requested_cb (GtkHTML *html, const gchar *url, GtkHTMLStream *handle, gpoint
{ unsigned char buffer[4096];
int len, fd;
- if ((fd = open (url, O_RDONLY)) == -1) {
+ if ((fd = g_open (url, O_RDONLY|O_BINARY, 0)) == -1) {
g_warning ("%s", g_strerror (errno));
return;
}