Use glib WIN32 defines

This commit is contained in:
Patrick Griffis
2017-06-26 19:14:52 -04:00
parent 8f2429a2d2
commit 8a6570862f
57 changed files with 186 additions and 191 deletions
+3 -3
View File
@@ -24,7 +24,7 @@
#include <fcntl.h>
#include <ctype.h>
#ifdef WIN32
#ifdef G_OS_WIN32
#include <io.h>
#else
#include <unistd.h>
@@ -438,7 +438,7 @@ key_dialog_combo_changed (GtkCellRendererCombo *combo, gchar *pathstr,
if (actiontext)
{
#ifdef WIN32
#ifdef G_OS_WIN32
/* We need to manually update the store */
GtkTreePath *path;
GtkTreeIter iter;
@@ -678,7 +678,7 @@ key_dialog_treeview_new (GtkWidget *box)
render = gtk_cell_renderer_accel_new ();
g_object_set (render, "editable", TRUE,
#ifndef WIN32
#ifndef G_OS_WIN32
"accel-mode", GTK_CELL_RENDERER_ACCEL_MODE_OTHER,
#endif
NULL);