From 8064faafb387ced5704efdc9c933ac5260d47a89 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 29 Dec 2006 19:57:03 +0000 Subject: Clarify docs. (#353423, Christian Persch) 2006-12-29 Matthias Clasen * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423, Christian Persch) --- gtk/gtkstyle.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gtk/gtkstyle.c') 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: * style = gtk_style_attach (style, window) - **/ + * + * 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) -- cgit v1.2.1