GtkModelMenuItem: don't leak a GVariant

This commit is contained in:
Ryan Lortie 2011-12-01 22:59:27 -05:00
parent 9cc98f9d9b
commit 2e64177e3f

View File

@ -230,6 +230,9 @@ gtk_model_menu_item_setup (GtkModelMenuItem *item,
else
gtk_widget_set_sensitive (GTK_WIDGET (item), FALSE);
if (state != NULL)
g_variant_unref (state);
}
}