summaryrefslogtreecommitdiff
path: root/gtk/gtkiconcache.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2005-07-03 15:47:42 +0000
committerHans Breuer <hans@src.gnome.org>2005-07-03 15:47:42 +0000
commit19e9165d64e954a64edd2cd9b29f0073c888c802 (patch)
tree543c0f66cf4b64be65f8b83f7484af745d89066d /gtk/gtkiconcache.c
parent1d1b9c7abec5a5b505f2009e969c018b0906a467 (diff)
downloadgtk+-19e9165d64e954a64edd2cd9b29f0073c888c802.tar.gz
updated <io.h> for open() use G_PI instead of M_PI
2005-07-03 Hans Breuer <hans@breuer.org> * **/makefile.msc[.in] : updated * gtk/gtkiconcache.c : <io.h> for open() * gtk/gtkstyle.c : use G_PI instead of M_PI * gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name() by mapping the lower case win32 api name to the respective cursor. E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load cursors from named resources in the executable. (gdk_cursor_get_image) : just return NULL for now. * gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region() by delegation to ScollWindowEx(), untested. * gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()
Diffstat (limited to 'gtk/gtkiconcache.c')
-rw-r--r--gtk/gtkiconcache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index afe96cecf7..8faca64a64 100644
--- a/gtk/gtkiconcache.c
+++ b/gtk/gtkiconcache.c
@@ -27,6 +27,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef G_OS_WIN32
+#include <io.h>
+#endif
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>