mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix ref count on new tag to be 1. Update doc. (#60836)
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix ref count on new tag to be 1. Update doc. (#60836)
This commit is contained in:
parent
405c3b090f
commit
bd30ca1884
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Sep 20 17:45:54 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
|
||||
ref count on new tag to be 1. Update doc. (#60836)
|
||||
|
||||
Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
|
||||
|
@ -1912,8 +1912,8 @@ gtk_text_buffer_place_cursor (GtkTextBuffer *buffer,
|
||||
*
|
||||
* Creates a tag and adds it to the tag table for @buffer.
|
||||
* Equivalent to calling gtk_text_tag_new () and then adding the
|
||||
* tag to the buffer's tag table. The returned tag has its refcount
|
||||
* incremented, as if you'd called gtk_text_tag_new ().
|
||||
* tag to the buffer's tag table. The returned tag is owned by
|
||||
* the buffer's tag table, so the ref count will be equal to one.
|
||||
*
|
||||
* If @tag_name is %NULL, the tag is anonymous.
|
||||
*
|
||||
@ -1947,6 +1947,8 @@ gtk_text_buffer_create_tag (GtkTextBuffer *buffer,
|
||||
va_end (list);
|
||||
}
|
||||
|
||||
g_object_unref (tag);
|
||||
|
||||
return tag;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user