glib::Variant assigment operator doesn't care about self-assigments

Bug #1199890 reported by Marco Trevisan (Treviño) on 2013-07-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Marco Trevisan (Treviño)
unity (Ubuntu)
Marco Trevisan (Treviño)

Bug Description

Just doing

GVariant *raw_variant = g_variant_new_string("bar");
glib::Variant v(raw_variant);
v = raw_variant;

Won't work, since it doesn't properly refs values

Related branches

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity at revision 3420, scheduled for release in unity, milestone 7.1.0

Changed in unity:
status: In Progress → Fix Committed
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.1.0.

Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers