summaryrefslogtreecommitdiffstats
path: root/glib/glibmodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-07-20 12:06:24 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-20 12:06:24 +0000
commit46a755b0216287884aab41654fa68a7541d25a79 (patch)
tree790ef97b06dbe62801a908101f8256586c398369 /glib/glibmodule.c
parent6628e24baebc6dd40f9e76d10391ea5c06d3398a (diff)
downloadpygobject-46a755b0216287884aab41654fa68a7541d25a79.tar.gz
pygobject-46a755b0216287884aab41654fa68a7541d25a79.tar.xz
pygobject-46a755b0216287884aab41654fa68a7541d25a79.zip
Rename helper library to libpyglib-2.0. Move over
2008-07-20 Johan Dahlin <johan@gnome.org> * glib/Makefile.am: * glib/glibmodule.c (pyg_main_context_default): * glib/pyglib.c (pyglib_gerror_exception_check): * glib/pyglib.h: Rename helper library to libpyglib-2.0. Move over pyg_gerror_exception_check as well. svn path=/trunk/; revision=840
Diffstat (limited to 'glib/glibmodule.c')
-rw-r--r--glib/glibmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmodule.c b/glib/glibmodule.c
index 4e01f58..25ded22 100644
--- a/glib/glibmodule.c
+++ b/glib/glibmodule.c
@@ -343,14 +343,13 @@ pyg_source_remove(PyObject *self, PyObject *args)
return PyBool_FromLong(g_source_remove(tag));
}
+#ifdef FIXME
static PyObject *
pyg_main_context_default(PyObject *unused)
{
-#ifdef FIXME
return pyg_main_context_new(g_main_context_default());
-#endif
- return NULL;
}
+#endif
struct _PyGChildData {
PyObject *func;
@@ -599,9 +598,10 @@ static PyMethodDef pyglib_functions[] = {
(PyCFunction)pyg_set_prgname, METH_VARARGS },
{ "main_depth",
(PyCFunction)pyg_main_depth, METH_NOARGS },
+#if 0
{ "main_context_default",
(PyCFunction)pyg_main_context_default, METH_NOARGS },
-
+#endif
{ NULL, NULL, 0 }
};