summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-30 16:33:32 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:08 -0500
commit8ae792170801401fd9b95920b39cf8f86a4c4afc (patch)
tree0e51b8eaf4fef0ad4ace4d1ac4d0f3850fa05e53 /examples
parent1eee7fb103204b85098cc7f2529692c7f3dad86d (diff)
downloadgtk+-8ae792170801401fd9b95920b39cf8f86a4c4afc.tar.gz
Don't call g_object_unref on a variant
Tsk, tsk...
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c2
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