diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-11-30 16:33:32 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-19 12:51:08 -0500 |
commit | 8ae792170801401fd9b95920b39cf8f86a4c4afc (patch) | |
tree | 0e51b8eaf4fef0ad4ace4d1ac4d0f3850fa05e53 /examples | |
parent | 1eee7fb103204b85098cc7f2529692c7f3dad86d (diff) | |
download | gtk+-8ae792170801401fd9b95920b39cf8f86a4c4afc.tar.gz |
Don't call g_object_unref on a variant
Tsk, tsk...
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bloatpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |