Avoid compiler warnings

The text variable in gtk_label_accessible_get_selection was
shadowing a parameter of the same name.
This commit is contained in:
Matthias Clasen 2011-07-10 00:10:54 -04:00
parent 9f58645eca
commit 1803e1b57c

View File

@ -400,7 +400,7 @@ gtk_label_accessible_get_n_selections (AtkText *text)
}
static gchar *
gtk_label_accessible_get_selection (AtkText *text,
gtk_label_accessible_get_selection (AtkText *atk_text,
gint selection_num,
gint *start_pos,
gint *end_pos)
@ -408,7 +408,7 @@ gtk_label_accessible_get_selection (AtkText *text,
GtkWidget *widget;
GtkLabel *label;
widget = gtk_accessible_get_widget (GTK_ACCESSIBLE (text));
widget = gtk_accessible_get_widget (GTK_ACCESSIBLE (atk_text));
if (widget == NULL)
return NULL;