summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-07-22 15:33:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-07-22 15:33:12 +0000
commitc040d51c9c76932fea029a6e1faf14f6ebc26168 (patch)
tree2f454f8b8f8f63b8d999b6fe7c2568cdca91dd37 /pango/pango-layout.h
parenta7507ca9d7d0679083242cec0c75a973df8ea181 (diff)
downloadpango-c040d51c9c76932fea029a6e1faf14f6ebc26168.tar.gz
Based on patch from Gustavo J. A. M. Carneiro (#305975)
2005-07-21 Owen Taylor <otaylor@redhat.com> Based on patch from Gustavo J. A. M. Carneiro (#305975) * pango/pango-layout.[ch] (pango_layout_line_ref) pango/pango-attributes.[ch] (pango_attr_list_ref): Return the argument to _ref() functions. * pango/pango-item.[ch]: Register PangoItem boxed type. * pango/pango-layout.[ch]: Register PangoLayoutLine boxed type.
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index d52b8b1c..1c099404 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -197,8 +197,13 @@ PangoLayoutLine *pango_layout_get_line (PangoLayout *layout,
int line);
GSList * pango_layout_get_lines (PangoLayout *layout);
-void pango_layout_line_ref (PangoLayoutLine *line);
-void pango_layout_line_unref (PangoLayoutLine *line);
+#define PANGO_TYPE_LAYOUT_LINE (pango_layout_line_get_type ())
+
+GType pango_layout_line_get_type (void) G_GNUC_CONST;
+
+PangoLayoutLine *pango_layout_line_ref (PangoLayoutLine *line);
+void pango_layout_line_unref (PangoLayoutLine *line);
+
gboolean pango_layout_line_x_to_index (PangoLayoutLine *line,
int x_pos,
int *index_,