[pygtksourceview/gtksourcecompletion] Fixed wrong cast from self instead of self->obj in completion_show



commit 162fd28faeccb6944cf92a7037426fdbb83d318b
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sun Sep 20 23:24:18 2009 +0200

    Fixed wrong cast from self instead of self->obj in completion_show

 gtksourceview2.override |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview2.override b/gtksourceview2.override
index cc930a5..6b9bec5 100644
--- a/gtksourceview2.override
+++ b/gtksourceview2.override
@@ -705,7 +705,10 @@ _wrap_gtk_source_completion_show(PyGObject *self,
     }
     
     items = pylist_to_glist_gobjs (providers, GTK_TYPE_SOURCE_COMPLETION_PROVIDER);
-    gtk_source_completion_show (GTK_SOURCE_COMPLETION(self), items, GTK_SOURCE_COMPLETION_CONTEXT (context->obj));
+    
+    gtk_source_completion_show (GTK_SOURCE_COMPLETION(self->obj), 
+                                items, 
+                                GTK_SOURCE_COMPLETION_CONTEXT (context->obj));
     
     g_list_foreach (items, (GFunc)g_object_unref, NULL);
     g_list_free (items);



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