Use glib WIN32 defines
This commit is contained in:
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user