[eog] EogWindow: Fix leaked GVariant
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogWindow: Fix leaked GVariant
- Date: Sat, 19 Nov 2016 19:16:28 +0000 (UTC)
commit 12eb105e0e4a5e11b87c19f632551a675f67f442
Author: Felix Riemann <friemann gnome org>
Date: Sat Nov 19 19:17:37 2016 +0100
EogWindow: Fix leaked GVariant
src/eog-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index f75aad8..7f5e5c9 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4053,6 +4053,8 @@ eog_window_ui_settings_changed_cb (GSettings *settings,
if (g_variant_get_boolean (new_state) != g_variant_get_boolean (old_state))
g_action_change_state (action, new_state);
+
+ g_variant_unref (new_state);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]