summaryrefslogtreecommitdiff
path: root/gtk/gdk.override
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gdk.override')
-rw-r--r--gtk/gdk.override4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gdk.override b/gtk/gdk.override
index cf995f9f..3c1236c2 100644
--- a/gtk/gdk.override
+++ b/gtk/gdk.override
@@ -4153,10 +4153,8 @@ _wrap_gdk_window_new(PyGObject *self, PyObject *args, PyObject *kwargs)
return -1;
}
-#ifdef PLATFORM_WIN32
g_object_ref(self->obj);
-#endif /* PLATFORM_WIN32 */
-
+
pygobject_register_wrapper((PyObject *)self);
return 0;
}