[pygtksourceview/gtksourcecompletion] Fixed wrong type check in add_proposals override



commit 6be2680e4ff04667598dbedeb194df064b2e03ae
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sun Sep 20 23:23:39 2009 +0200

    Fixed wrong type check in add_proposals override

 gtksourceview2.override |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview2.override b/gtksourceview2.override
index 065eadc..e40cfa9 100644
--- a/gtksourceview2.override
+++ b/gtksourceview2.override
@@ -605,7 +605,7 @@ _wrap_gtk_source_completion_context_add_proposals(PyGObject *self,
     if (!PyArg_ParseTupleAndKeywords(args, kwargs,
                                      "O!O|O:GtkSourceCompletionContext.add_proposals",
                                      kwlist, 
-                                     PyGtkSourceCompletionProvider_Type, &py_provider, 
+                                     &PyGtkSourceCompletionProvider_Type, &py_provider, 
                                      &py_proposals, 
                                      &py_finished))
         return NULL;



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