File commit-23c4ea2 of Package gnome-control-center.1594
commit 23c4ea2a6ec007db480a9399ad006a6ed7339be4
Author: Bastien Nocera <hadess@hadess.net>
Date: Thu Mar 27 14:31:19 2014 +0100
info: Fix incorrect virtualisation technology
g_strcmp0() == 0, or g_str_equal(), not g_str_equal() == 0...
https://bugzilla.gnome.org/show_bug.cgi?id=727161
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index ba5c8de..c62ed38 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -823,7 +823,7 @@ set_virtualization_label (CcInfoPanel *self,
display_name = NULL;
for (i = 0; i < G_N_ELEMENTS (virt_tech); i++)
{
- if (g_str_equal (virt_tech[i].id, virt) == 0)
+ if (g_str_equal (virt_tech[i].id, virt))
{
display_name = _(virt_tech[i].display);
break;