diff options
author | David King <amigadave@amigadave.com> | 2015-01-29 10:16:10 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-02-16 21:37:33 +0000 |
commit | 303ffdc9d8599d96723b57f249e6d5ba3112e9a1 (patch) | |
tree | e653f94d7a21e30af196bd0a275a48baa1cbb2ed | |
parent | 181448dfff988a2edfb03d4cc8db9862bd58780f (diff) |
Fix shadowed variable
-rw-r--r-- | libcheese/cheese-flash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcheese/cheese-flash.c b/libcheese/cheese-flash.c index ea4ce2b6..8500acb9 100644 --- a/libcheese/cheese-flash.c +++ b/libcheese/cheese-flash.c @@ -129,10 +129,10 @@ cheese_flash_set_property (GObject *object, switch (prop_id) { case PROP_PARENT: { - GObject *object; - object = g_value_get_object (value); + GObject *parent; + parent = g_value_get_object (value); if (object != NULL) - priv->parent = g_object_ref (object); + priv->parent = g_object_ref (parent); else priv->parent = NULL; } |