[pygobject] Remove unused signal_accumulator_true_handled



commit 4656d9073d30e7ffd94b9a60d754d78358ba89c3
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Mon Mar 19 20:03:42 2018 +0100

    Remove unused signal_accumulator_true_handled

 gi/gimodule.c      | 2 --
 gi/gobjectmodule.c | 9 ---------
 gi/gobjectmodule.h | 1 -
 3 files changed, 12 deletions(-)
---
diff --git a/gi/gimodule.c b/gi/gimodule.c
index 48ddee26..4604caf3 100644
--- a/gi/gimodule.c
+++ b/gi/gimodule.c
@@ -650,8 +650,6 @@ static PyMethodDef _gi_functions[] = {
       pyg_object_class_list_properties, METH_VARARGS },
     { "new",
       (PyCFunction)pyg_object_new, METH_VARARGS|METH_KEYWORDS },
-    { "signal_accumulator_true_handled",
-      (PyCFunction)pyg_signal_accumulator_true_handled, METH_VARARGS },
     { "add_emission_hook",
       (PyCFunction)pyg_add_emission_hook, METH_VARARGS },
     { "_install_metaclass",
diff --git a/gi/gobjectmodule.c b/gi/gobjectmodule.c
index b3501eed..76923ea3 100644
--- a/gi/gobjectmodule.c
+++ b/gi/gobjectmodule.c
@@ -1425,15 +1425,6 @@ pygobject_enable_threads(void)
     return 0;
 }
 
-PyObject *
-pyg_signal_accumulator_true_handled(PyObject *unused, PyObject *args)
-{
-    PyErr_SetString(PyExc_TypeError,
-                   "signal_accumulator_true_handled can only"
-                    " be used as accumulator argument when registering signals");
-    return NULL;
-}
-
 static gboolean
 marshal_emission_hook(GSignalInvocationHint *ihint,
                      guint n_param_values,
diff --git a/gi/gobjectmodule.h b/gi/gobjectmodule.h
index 50bb6d10..9c7a4b81 100644
--- a/gi/gobjectmodule.h
+++ b/gi/gobjectmodule.h
@@ -22,7 +22,6 @@ PyObject *  pyg_signal_new                      (PyObject *self, PyObject *args)
 PyObject *  pyg_object_class_list_properties    (PyObject *self, PyObject *args);
 PyObject *  pyg_object_new                      (PyGObject *self, PyObject *args,
                                                  PyObject *kwargs);
-PyObject *  pyg_signal_accumulator_true_handled (PyObject *unused, PyObject *args);
 PyObject *  pyg_add_emission_hook               (PyGObject *self, PyObject *args);
 PyObject *  pyg__install_metaclass              (PyObject *dummy,
                                                  PyTypeObject *metaclass);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]