Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorsc/colorsclib.i8
1 files changed, 4 insertions, 4 deletions
diff --git a/colorsc/colorsclib.i b/colorsc/colorsclib.i
index f29fe6d..c3803e4 100644
--- a/colorsc/colorsclib.i
+++ b/colorsc/colorsclib.i
@@ -18,7 +18,7 @@
%module colorsclib
%{
-#include <pygobject.h>
+#include <GObject.h>
#include "canvas.h"
#include "palette.h"
@@ -32,15 +32,15 @@
// Pass a gst.Buffer as a GstBuffer*.
%typemap(in) GstBuffer* {
// todo- Error checking would be nice.
- PyGObject* pygo = (PyGObject*)$input;
+ GObject* pygo = (GObject*)$input;
GstBuffer* buf = (GstBuffer*)pygo->obj;
$1 = buf;
}
-// Pass a gtk.gdk.Image as a GdkImage*.
+// Pass a gtk.Gdk.Image as a GdkImage*.
%typemap(in) GdkImage* {
// todo- Error checking would be nice.
- PyGObject* pygo = (PyGObject*)$input;
+ GObject* pygo = (GObject*)$input;
GdkImage* img = (GdkImage*)pygo->obj;
$1 = img;
}