summarylogtreecommitdiffstats
path: root/deprecated.patch
blob: 1c7097436e3df4310e6b542c2b2a95b9f48b7bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Source:

http://bugs.gentoo.org/attachment.cgi?id=184839&action=view

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
 };