diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-29 19:57:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-29 19:57:03 +0000 |
commit | 8064faafb387ced5704efdc9c933ac5260d47a89 (patch) | |
tree | 100358807b4529fbce227ef140e5827ed2e91dbd /gtk/gtkstyle.c | |
parent | 4193650dc98002761101b4a84422e7fd0662aef9 (diff) | |
download | gtk+-8064faafb387ced5704efdc9c933ac5260d47a89.tar.gz |
Clarify docs. (#353423, Christian Persch)
2006-12-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
Christian Persch)
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r-- | gtk/gtkstyle.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index b7d1d8f0a8..ed35c6c07f 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -678,10 +678,6 @@ gtk_style_new (void) * gtk_style_attach: * @style: a #GtkStyle. * @window: a #GdkWindow. - * @returns: Either @style, or a newly-created #GtkStyle. - * If the style is newly created, the style parameter - * will be dereferenced, and the new style will have - * a reference count belonging to the caller. * * Attaches a style to a window; this process allocates the * colors and creates the GC's for the style - it specializes @@ -692,7 +688,12 @@ gtk_style_new (void) * Since this function may return a new object, you have to use it * in the following way: * <literal>style = gtk_style_attach (style, window)</literal> - **/ + * + * Returns: Either @style, or a newly-created #GtkStyle. + * If the style is newly created, the style parameter + * will be unref'ed, and the new style will have + * a reference count belonging to the caller. + */ GtkStyle* gtk_style_attach (GtkStyle *style, GdkWindow *window) |