From 7f12a27249aa091f242c1a18993c2777c68e0216 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 6 Jul 2008 23:58:37 +0000 Subject: [PATCH] Clarify the docs. Pointed out by Wolfgang Oertl * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the docs. Pointed out by Wolfgang Oertl svn path=/trunk/; revision=20798 --- ChangeLog | 7 +++++++ gtk/gtkwidget.c | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57be971fa9..e608665f9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-06 Matthias Clasen + + Bug 510225 – gtk_widget_get_composite_name retval should be freed + + * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the + docs. Pointed out by Wolfgang Oertl + 2008-07-06 Matthias Clasen Bug 531129 – gtk_style_copy() does not include a return value or diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 5c5a2f6069..c1c8a496a6 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -7564,11 +7564,12 @@ gtk_widget_set_composite_name (GtkWidget *widget, /** * gtk_widget_get_composite_name: * @widget: a #GtkWidget - * @returns: the composite name of @widget, or %NULL if @widget is not - * a composite child. The string should not be freed when it is no - * longer needed. * * Obtains the composite name of a widget. + * + * Returns: the composite name of @widget, or %NULL if @widget is not + * a composite child. The string should be freed when it is no + * longer needed. **/ gchar* gtk_widget_get_composite_name (GtkWidget *widget)