From 8ae792170801401fd9b95920b39cf8f86a4c4afc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 30 Nov 2011 16:33:32 -0500 Subject: [PATCH] Don't call g_object_unref on a variant Tsk, tsk... --- examples/bloatpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bloatpad.c b/examples/bloatpad.c index 74eac3174f..d6e549b704 100644 --- a/examples/bloatpad.c +++ b/examples/bloatpad.c @@ -24,7 +24,7 @@ activate_toggle (GSimpleAction *action, state = g_action_get_state (G_ACTION (action)); g_action_change_state (G_ACTION (action), g_variant_new_boolean (!g_variant_get_boolean (state))); - g_object_unref (state); + g_variant_unref (state); } static void