[gnome-control-center] universal-access: Fix duplicate settings call
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Fix duplicate settings call
- Date: Wed, 5 Jun 2019 14:02:10 +0000 (UTC)
commit 9bc429ce641fd4aee2947c7d66b9a93a2d835c31
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Jun 4 13:48:00 2019 +1200
universal-access: Fix duplicate settings call
This would leak the value of the first setting.
panels/universal-access/zoom-options.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/panels/universal-access/zoom-options.c b/panels/universal-access/zoom-options.c
index 7266aaab6..628614762 100644
--- a/panels/universal-access/zoom-options.c
+++ b/panels/universal-access/zoom-options.c
@@ -228,7 +228,6 @@ screen_position_notify_cb (GSettings *settings,
GtkComboBox *combobox;
gboolean valid;
- position = g_settings_get_string (settings, key);
position = g_settings_get_string (self->settings, key);
combobox = GTK_COMBO_BOX (self->screen_position_combobox);
model = gtk_combo_box_get_model (combobox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]