From d23d14addd53f7457684146aaade44cec2cf4643 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 21 Jul 2008 17:55:40 +0000 Subject: Make pyglib_destroy_notify and pyglib_handler_marshal private. Add a few 2008-07-21 Johan Dahlin * glib/glibmodule.c (pyglib_idle_add), (pyglib_timeout_add), (pyglib_timeout_add_seconds), (pyglib_io_add_watch): * glib/pyglib-private.h: * glib/pyglib.c (pyglib_destroy_notify), (_pyglib_handler_marshal): * glib/pyglib.h: * glib/pygsource.c (pyg_source_set_callback): Make pyglib_destroy_notify and pyglib_handler_marshal private. Add a few public prototypes. svn path=/trunk/; revision=848 --- glib/pygsource.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'glib/pygsource.c') diff --git a/glib/pygsource.c b/glib/pygsource.c index 1374c5d..a7df221 100644 --- a/glib/pygsource.c +++ b/glib/pygsource.c @@ -30,7 +30,6 @@ #include #include #include /* for PyMemberDef */ - #include "pyglib.h" #include "pyglib-private.h" #include "pygmaincontext.h" @@ -162,8 +161,8 @@ pyg_source_set_callback(PyGSource *self, PyObject *args) return NULL; g_source_set_callback(self->source, - pyglib_handler_marshal, data, - pyglib_destroy_notify); + _pyglib_handler_marshal, data, + _pyglib_destroy_notify); Py_INCREF(Py_None); return Py_None; -- cgit