mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
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:
parent
9f58645eca
commit
1803e1b57c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user