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)