tags 476295 + patch confirmed upstream
stop
Hi,
upstream indicated that these wrappers were not in used yet and could
be simply commented out while a proper fix is discussed. Attached
patch solves warnings for me; there are other suspicious warnings as
well:
generated/bindings/org/gnome/atk/AtkImplementorIface.c:40: warning: passing
argument 1 of «atk_implementor_ref_accessible» from incompatible pointer type
which I didn't address
Bye,
--
Loïc Minier
=== modified file 'src/defs/PangoContext.defs'
--- src/defs/PangoContext.defs 2008-03-08 01:26:12 +0000
+++ src/defs/PangoContext.defs 2008-04-16 10:34:32 +0000
@@ -5,21 +5,21 @@
(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-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 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")
=== modified file 'src/defs/PangoFontMap.defs'
--- src/defs/PangoFontMap.defs 2007-04-14 23:21:13 +0000
+++ src/defs/PangoFontMap.defs 2008-04-16 10:38:49 +0000
@@ -36,11 +36,11 @@
)
)
-(define-method get_shape_engine_type
- (of-object "PangoFontMap")
- (c-name "pango_font_map_get_shape_engine_type")
- (return-type "const-char*")
-)
+#(define-method get_shape_engine_type
+# (of-object "PangoFontMap")
+# (c-name "pango_font_map_get_shape_engine_type")
+# (return-type "const-char*")
+#)
(define-virtual load_font
(of-object "PangoFontMap")