diff options
author | Jonathan Blandford <jrb@gnome.org> | 2002-11-17 15:56:53 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2002-11-17 15:56:53 +0000 |
commit | ec49b8194fe9657f0a6e2e588a15154dffdfd98f (patch) | |
tree | d2758d8cacde87bc4d5e7f2d1f8220a1b346d475 /gtk | |
parent | 68543b9e3ee19f2d9d53357c42845802a6fb54a4 (diff) | |
download | gdk-pixbuf-ec49b8194fe9657f0a6e2e588a15154dffdfd98f.tar.gz |
remove bogus gvalue initialization/freeing.
Sun Nov 17 10:49:28 2002 Jonathan Blandford <jrb@gnome.org>
* gtk/gtksettings.c (gtk_settings_get_property): remove bogus
gvalue initialization/freeing.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtksettings.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 98ae79b3a..0b80dacb6 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)) { |