summaryrefslogtreecommitdiff
path: root/pango.defs
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-10-08 09:01:38 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-10-08 09:01:38 +0000
commit06d95a151af24fc98eaee0253bb032f328d82b58 (patch)
treef1f3326b7ce953d5f9627fd574917b049085379c /pango.defs
parent6047e6b16c82716ec33b905a06a878ecf2160be2 (diff)
downloadpygtk-06d95a151af24fc98eaee0253bb032f328d82b58.tar.gz
comment out, as it is only for use by engines.
2001-10-08 James Henstridge <james@daa.com.au> * pango.defs (pango_font_metrics_new): comment out, as it is only for use by engines. * gtk/libglade.override: same here. * gtk/gdk.override: same here. * gtk/gtk.override: use import section here. * pango.override: use the new import stuff to get the reference to the GObject type. * codegen/codegen.py (write_source): write out code based on the import statements in the overrides file. Most modules have some code like this, and this helps reduce the boilerplate code that needs to be entered in. * codegen/override.py (Overrides.get_imports): add handlers for "import" sections of the overrides file, which are used to get references to the types in other modules.
Diffstat (limited to 'pango.defs')
-rw-r--r--pango.defs10
1 files changed, 5 insertions, 5 deletions
diff --git a/pango.defs b/pango.defs
index 61be3c86..f20189a8 100644
--- a/pango.defs
+++ b/pango.defs
@@ -1059,11 +1059,11 @@
(return-type "int")
)
-(define-function pango_font_metrics_new
- (c-name "pango_font_metrics_new")
- (is-constructor-of "PangoFontMetrics")
- (return-type "PangoFontMetrics*")
-)
+; (define-function pango_font_metrics_new
+; (c-name "pango_font_metrics_new")
+; (is-constructor-of "PangoFontMetrics")
+; (return-type "PangoFontMetrics*")
+; )
(define-function pango_font_family_get_type
(c-name "pango_font_family_get_type")