gtk+ r22050 - in branches/gtk-2-14: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22050 - in branches/gtk-2-14: . gtk
- Date: Sat, 3 Jan 2009 07:11:58 +0000 (UTC)
Author: matthiasc
Date: Sat Jan 3 07:11:57 2009
New Revision: 22050
URL: http://svn.gnome.org/viewvc/gtk+?rev=22050&view=rev
Log:
Bug 565846 â "va_end(args);" should be added into gtk_tree_store_new
* gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
va_end() call. Pointed out by Jiwon Lee.
Modified:
branches/gtk-2-14/ChangeLog
branches/gtk-2-14/gtk/gtktreestore.c
Modified: branches/gtk-2-14/gtk/gtktreestore.c
==============================================================================
--- branches/gtk-2-14/gtk/gtktreestore.c (original)
+++ branches/gtk-2-14/gtk/gtktreestore.c Sat Jan 3 07:11:57 2009
@@ -276,6 +276,7 @@
{
g_warning ("%s: Invalid type %s\n", G_STRLOC, g_type_name (type));
g_object_unref (retval);
+ va_end (args);
return NULL;
}
gtk_tree_store_set_column_type (retval, i, type);
@@ -284,6 +285,7 @@
return retval;
}
+
/**
* gtk_tree_store_newv:
* @n_columns: number of columns in the tree store
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]