Commit 037e90b8 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Return the attributes to make this function work as boxed copy function.

2005-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
	to make this function work as boxed copy function.  (#317455,
	Gustavo Carneiro)
parent d52e81d5
2005-09-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
to make this function work as boxed copy function. (#317455,
Gustavo Carneiro)
* gtk/gtkclipboard.c (request_image_received_func): Don't unref
NULL. (#316828, Tor Lillqvist)
......
2005-09-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
to make this function work as boxed copy function. (#317455,
Gustavo Carneiro)
* gtk/gtkclipboard.c (request_image_received_func): Don't unref
NULL. (#316828, Tor Lillqvist)
......
......@@ -2041,6 +2041,8 @@ gtk_text_attributes_copy_values (GtkTextAttributes *src,
* @values: a #GtkTextAttributes
*
* Increments the reference count on @values.
*
* Returns: the #GtkTextAttributes that were passed in
**/
void
gtk_text_attributes_ref (GtkTextAttributes *values)
......@@ -2048,6 +2050,8 @@ gtk_text_attributes_ref (GtkTextAttributes *values)
g_return_if_fail (values != NULL);
values->refcount += 1;
return values;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment