[libpeas] Fix variable shadow in plugin manager test
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Fix variable shadow in plugin manager test
- Date: Wed, 23 Mar 2011 21:42:20 +0000 (UTC)
commit 020cd6495ef3b21128e48a6128f6c9f6456eba19
Author: Garrett Regier <alias301 gmail com>
Date: Fri Mar 18 07:14:27 2011 -0700
Fix variable shadow in plugin manager test
tests/libpeas-gtk/plugin-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/libpeas-gtk/plugin-manager.c b/tests/libpeas-gtk/plugin-manager.c
index cb06a10..ab52034 100644
--- a/tests/libpeas-gtk/plugin-manager.c
+++ b/tests/libpeas-gtk/plugin-manager.c
@@ -376,11 +376,11 @@ test_gtk_plugin_manager_configure_dialog (TestFixture *fixture)
{
if (GTK_IS_BUTTON (list_it->data))
{
- const gchar *label = gtk_button_get_label (GTK_BUTTON (list_it->data));
+ const gchar *text = gtk_button_get_label (GTK_BUTTON (list_it->data));
- if (g_strcmp0 (label, GTK_STOCK_CLOSE) == 0)
+ if (g_strcmp0 (text, GTK_STOCK_CLOSE) == 0)
close_button = GTK_WIDGET (list_it->data);
- else if (g_strcmp0 (label, GTK_STOCK_HELP) == 0)
+ else if (g_strcmp0 (text, GTK_STOCK_HELP) == 0)
help_button = GTK_WIDGET (list_it->data);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]