Bug 557524 – "va_end(args);" should be added into

2008-10-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 557524 – "va_end(args);" should be added into
        gtk_text_buffer_insert_with_tags_by_name( )

        * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
        Don't forget to call va_end. Pointed out by Boram Park


svn path=/trunk/; revision=21706
This commit is contained in:
Matthias Clasen 2008-10-24 04:16:07 +00:00 committed by Matthias Clasen
parent 90e091674c
commit cdef5cdc49
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2008-10-24 Matthias Clasen <mclasen@redhat.com>
Bug 557524 "va_end(args);" should be added into
gtk_text_buffer_insert_with_tags_by_name( )
* gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
Don't forget to call va_end. Pointed out by Boram Park
2008-10-23 Alexander Larsson <alexl@redhat.com> 2008-10-23 Alexander Larsson <alexl@redhat.com>
Bug 528320 - Incorrect icons displayed for files with custom mimetype icons Bug 528320 - Incorrect icons displayed for files with custom mimetype icons

View File

@ -1530,6 +1530,7 @@ gtk_text_buffer_insert_with_tags_by_name (GtkTextBuffer *buffer,
if (tag == NULL) if (tag == NULL)
{ {
g_warning ("%s: no tag with name '%s'!", G_STRLOC, tag_name); g_warning ("%s: no tag with name '%s'!", G_STRLOC, tag_name);
va_end (args);
return; return;
} }