diff --git a/ChangeLog b/ChangeLog index 535c4bb65c..70ae00e6f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Nov 17 10:49:28 2002 Jonathan Blandford + + * gtk/gtksettings.c (gtk_settings_get_property): remove bogus + gvalue initialization/freeing. + 2002-11-16 Tor Lillqvist * gdk/gdk.def: Add missing entries, needed by gtk. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 535c4bb65c..70ae00e6f2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sun Nov 17 10:49:28 2002 Jonathan Blandford + + * gtk/gtksettings.c (gtk_settings_get_property): remove bogus + gvalue initialization/freeing. + 2002-11-16 Tor Lillqvist * gdk/gdk.def: Add missing entries, needed by gtk. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 535c4bb65c..70ae00e6f2 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Sun Nov 17 10:49:28 2002 Jonathan Blandford + + * gtk/gtksettings.c (gtk_settings_get_property): remove bogus + gvalue initialization/freeing. + 2002-11-16 Tor Lillqvist * gdk/gdk.def: Add missing entries, needed by gtk. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 535c4bb65c..70ae00e6f2 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sun Nov 17 10:49:28 2002 Jonathan Blandford + + * gtk/gtksettings.c (gtk_settings_get_property): remove bogus + gvalue initialization/freeing. + 2002-11-16 Tor Lillqvist * gdk/gdk.def: Add missing entries, needed by gtk. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 535c4bb65c..70ae00e6f2 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sun Nov 17 10:49:28 2002 Jonathan Blandford + + * gtk/gtksettings.c (gtk_settings_get_property): remove bogus + gvalue initialization/freeing. + 2002-11-16 Tor Lillqvist * gdk/gdk.def: Add missing entries, needed by gtk. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 535c4bb65c..70ae00e6f2 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sun Nov 17 10:49:28 2002 Jonathan Blandford + + * gtk/gtksettings.c (gtk_settings_get_property): remove bogus + gvalue initialization/freeing. + 2002-11-16 Tor Lillqvist * gdk/gdk.def: Add missing entries, needed by gtk. diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 98ae79b3a7..0b80dacb6d 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -360,19 +360,7 @@ gtk_settings_get_property (GObject *object, if (settings->property_values[property_id - 1].source == GTK_SETTINGS_SOURCE_APPLICATION) { - GValue tmp_value = { 0, }; - GValue gstring_value = { 0, }; - - g_value_init (&gstring_value, G_TYPE_GSTRING); - - g_value_set_boxed (&gstring_value, - g_string_new (g_value_get_string (&val))); - - g_value_init (&tmp_value, G_PARAM_SPEC_VALUE_TYPE (pspec)); g_value_copy (&settings->property_values[property_id - 1].value, value); - - g_value_unset (&gstring_value); - g_value_unset (&tmp_value); } else if (!gdk_screen_get_setting (settings->screen, pspec->name, &val)) {