The remaining changes in that patch are in a different file,
src/defs/PangoContext.defs:

diff -u java-gnome-4.0.{7,9}/src/defs/PangoContext.defs
--- java-gnome-4.0.7/src/defs/PangoContext.defs 2008-04-30 04:52:30.000000000 
+0200
+++ java-gnome-4.0.9/src/defs/PangoContext.defs 2008-10-13 11:36:36.000000000 
+0200
@@ -5,21 +5,26 @@
   (gtype-id "PANGO_TYPE_CONTEXT")
 )
 
-(define-function pango_context_new
-  (is-constructor-of "PangoContext")
-  (c-name "pango_context_new")
-  (caller-owns-return #t)
-  (return-type "PangoContext*")
-)
-
-(define-method add_font_map
-  (of-object "PangoContext")
-  (c-name "pango_context_set_font_map")
-  (return-type "none")
-  (parameters
-    '("PangoFontMap*" "font_map")
-  )
-)
+;;This function is only used when constructing a new Pango backend which
+;;applications shouldn't do, and relies on a special #define to be present in
+;;the C API. This is not planned to be exposed in java-gnome so it is
+;;commented out and fixes bug #528282
+
+;;(define-function pango_context_new
+;;  (is-constructor-of "PangoContext")
+;;  (c-name "pango_context_new")
+;;  (caller-owns-return #t)
+;;  (return-type "PangoContext*")
+;;)
+
+;;(define-method add_font_map
+;;  (of-object "PangoContext")
+;;  (c-name "pango_context_set_font_map")
+;;  (return-type "none")
+;;  (parameters
+;;    '("PangoFontMap*" "font_map")
+;;  )
+;;)
 
 (define-method get_font_map
   (of-object "PangoContext")

-- 
new upstream version (4.0.9)
https://bugs.launchpad.net/bugs/260751
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to