diff options
author | Colin Walters <walters@verbum.org> | 2009-12-10 08:23:40 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2009-12-16 17:22:01 -0200 |
commit | 6529c07614ebfbfac73f526efb057d8a8e3a7354 (patch) | |
tree | 6470d8b8af29900905a07ff7838d180cec8fd36e /gtk/gtktextlayout.c | |
parent | b3c48a4501d77c15ae236f1fe4514cc02de187f3 (diff) | |
download | gtk+-6529c07614ebfbfac73f526efb057d8a8e3a7354.tar.gz |
[introspection] Merge in Gtk-custom.c annotations
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r-- | gtk/gtktextlayout.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index 8c5d419b63..c4c7143984 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -299,6 +299,10 @@ gtk_text_layout_finalize (GObject *object) G_OBJECT_CLASS (gtk_text_layout_parent_class)->finalize (object); } +/** + * gtk_text_layout_set_buffer: + * @buffer: (allow-none): + */ void gtk_text_layout_set_buffer (GtkTextLayout *layout, GtkTextBuffer *buffer) @@ -703,6 +707,12 @@ gtk_text_layout_wrap (GtkTextLayout *layout, return GTK_TEXT_LAYOUT_GET_CLASS (layout)->wrap (layout, line, line_data); } + +/** + * gtk_text_layout_get_lines: + * + * Return value: (element-type GtkTextLine) (transfer container): + */ GSList* gtk_text_layout_get_lines (GtkTextLayout *layout, /* [top_y, bottom_y) */ |