From 07380c1e64d53884811684c86a39d03bdddca609 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 10 Jul 2011 00:24:26 -0400 Subject: Make all of a11y/ compile with -Wshadow --- gtk/a11y/gtkwindowaccessible.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gtk/a11y/gtkwindowaccessible.c') diff --git a/gtk/a11y/gtkwindowaccessible.c b/gtk/a11y/gtkwindowaccessible.c index c5e2959047..a09d77dee9 100644 --- a/gtk/a11y/gtkwindowaccessible.c +++ b/gtk/a11y/gtkwindowaccessible.c @@ -19,8 +19,6 @@ #include "config.h" -#include - #include #include "gtkwindowaccessible.h" @@ -79,7 +77,7 @@ gtk_window_accessible_notify_gtk (GObject *obj, GtkWidget *widget = GTK_WIDGET (obj); AtkObject* atk_obj = gtk_widget_get_accessible (widget); - if (strcmp (pspec->name, "title") == 0) + if (g_strcmp0 (pspec->name, "title") == 0) { g_object_notify (G_OBJECT (atk_obj), "accessible-name"); g_signal_emit_by_name (atk_obj, "visible_data_changed"); -- cgit v1.2.1