[gnome-control-center/gnome-3-30] universal-access: Fix duplicate settings call
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-30] universal-access: Fix duplicate settings call
- Date: Sun, 9 Jun 2019 23:35:05 +0000 (UTC)
commit a7bd54016000ab864ae1760890102e866a8f994a
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]