summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2009-06-14 04:39:28 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2009-06-14 04:39:28 +0000
commit5bb4d804d8263312dcb8c27a6f720574edab0768 (patch)
tree93916c82a118b3e1a839802b0c574158269f143d /x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff
parent2.6.30 now in portage (diff)
downloadje_fro-5bb4d804d8263312dcb8c27a6f720574edab0768.tar.gz
je_fro-5bb4d804d8263312dcb8c27a6f720574edab0768.tar.bz2
je_fro-5bb4d804d8263312dcb8c27a6f720574edab0768.zip
Adding for the purpose of testing Christian Becke's fix from bug #237634
svn path=/; revision=290
Diffstat (limited to 'x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff')
-rw-r--r--x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff b/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff
new file mode 100644
index 0000000..0e1c5b2
--- /dev/null
+++ b/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff
@@ -0,0 +1,47 @@
+diff -ur guile-gtk-2.0.orig/gtk-gl/gdk-gl.defs guile-gtk-2.0/gtk-gl/gdk-gl.defs
+--- guile-gtk-2.0.orig/gtk-gl/gdk-gl.defs 2006-12-09 02:23:15.000000000 +0100
++++ guile-gtk-2.0/gtk-gl/gdk-gl.defs 2009-03-12 22:46:52.000000000 +0100
+@@ -22,14 +22,14 @@
+ ;--- Types ... --------------------------------------------------------
+
+ (define-struct GdkGLContext
+- (copy gdk_gl_context_ref)
+- (free gdk_gl_context_unref)
++ (copy g_object_ref)
++ (free g_object_unref)
+ (size "0")
+ (canonical-name "Gdk" "GL" "Context"))
+
+ (define-struct GdkGLPixmap
+- (copy gdk_gl_pixmap_ref)
+- (free gdk_gl_pixmap_unref)
++ (copy g_object_ref)
++ (free g_object_unref)
+ (size "0")
+ (canonical-name "Gdk" "GL" "Pixmap"))
+
+diff -ur guile-gtk-2.0.orig/gtk-gl/gdk-gl-glue.c guile-gtk-2.0/gtk-gl/gdk-gl-glue.c
+--- guile-gtk-2.0.orig/gtk-gl/gdk-gl-glue.c 2006-12-22 10:31:01.000000000 +0100
++++ guile-gtk-2.0/gtk-gl/gdk-gl-glue.c 2009-03-12 22:44:24.000000000 +0100
+@@ -83,8 +83,8 @@
+
+ sgtk_boxed_info sgtk_gdk_gl_context_info = {
+ { "GdkGLContext", GTK_TYPE_BOXED, NULL },
+- (void *(*)(void*))gdk_gl_context_ref,
+- (void (*)(void*))gdk_gl_context_unref,
++ (void *(*)(void*))g_object_ref,
++ (void (*)(void*))g_object_unref,
+ (void (*)(SCM)) NULL,
+ 0
+ };
+@@ -100,8 +100,8 @@
+
+ sgtk_boxed_info sgtk_gdk_gl_pixmap_info = {
+ { "GdkGLPixmap", GTK_TYPE_BOXED, NULL },
+- (void *(*)(void*))gdk_gl_pixmap_ref,
+- (void (*)(void*))gdk_gl_pixmap_unref,
++ (void *(*)(void*))g_object_ref,
++ (void (*)(void*))g_object_unref,
+ (void (*)(SCM)) NULL,
+ 0
+ };