Commit 0031ee80 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Fix use of uninitialized memory.

Sun Mar 25 15:51:28 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
	memory.
parent a7f29c4e
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
......
......@@ -93,15 +93,13 @@ gtk_settings_init (GtkSettings *settings)
guint i;
g_datalist_init (&settings->queued_settings);
settings->property_values = NULL;
object_list = g_slist_prepend (object_list, settings);
/* build up property array for all yet existing properties and queue
* notification for them (at least notification for internal properties
* will instantly be caught)
*/
settings->property_values = g_renew (GValue, settings->property_values, class_n_properties);
settings->property_values[class_n_properties - 1].g_type = 0;
settings->property_values = g_new0 (GValue, class_n_properties);
for (i = 0; i < class_n_properties; i++)
{
GParamSpec *pspec = gobject_class->property_specs[i]; // FIXME: g_object_list_properties(this_class_type)
......
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