GMenuModel: remove a type safety bug
authorRyan Lortie <desrt@desrt.ca>
Sat, 18 Aug 2012 18:14:21 +0000 (14:14 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 20 Aug 2012 20:26:25 +0000 (16:26 -0400)
commitad79b0f8efdb72e9c4b337dffa62521e7fa2a89a
treecb4c7c9be8c7d9644f8daae43a52237f6877f70f
parent34653169e5653b95d61c461f088e6016f042d08a
GMenuModel: remove a type safety bug

There was a /* XXX */ in the code here to do proper typechecking of the
GVariant in the menu model when using g_menu_model_get_item_attribute().
We have g_variant_check_format_string() now, so use it.
gio/gmenumodel.c