[gnome-control-center/gnome-3-10] info: Fix incorrect virtualisation technology
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-10] info: Fix incorrect virtualisation technology
- Date: Thu, 27 Mar 2014 13:35:06 +0000 (UTC)
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
panels/info/cc-info-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]