remove windows crap (^M)
This commit is contained in:
parent
43e123e796
commit
369b47d692
|
@ -20,8 +20,8 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/scrnsaver.h>
|
||||
#include <gdk/gdkx.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkx.h>
|
||||
#include <gtk/gtk.h>
|
||||
#else
|
||||
#define _WIN32_WINNT 0x0500
|
||||
#include <windows.h>
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
|
||||
static PyObject * idle_init(PyObject *self, PyObject *args)
|
||||
{
|
||||
{
|
||||
#ifndef _WIN32
|
||||
gtk_init (NULL, NULL);
|
||||
#else
|
||||
|
@ -86,7 +86,7 @@ static PyObject * idle_getIdleSec(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
static PyObject * idle_close(PyObject *self, PyObject *args)
|
||||
{
|
||||
{
|
||||
#ifndef _WIN32
|
||||
gtk_main_quit ();
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue