mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
Avoid a compiler warning
This commit is contained in:
parent
f9c4977306
commit
2b5140c974
@ -135,12 +135,12 @@ gtk_label_accessible_notify_gtk (GObject *obj,
|
||||
{
|
||||
g_signal_emit_by_name (atk_obj, "text-caret-moved",
|
||||
_gtk_label_get_cursor_position (GTK_LABEL (widget)));
|
||||
if (check_for_selection_change (atk_obj, GTK_LABEL (widget)))
|
||||
if (check_for_selection_change (accessible, GTK_LABEL (widget)))
|
||||
g_signal_emit_by_name (atk_obj, "text-selection-changed");
|
||||
}
|
||||
else if (g_strcmp0 (pspec->name, "selection-bound") == 0)
|
||||
{
|
||||
if (check_for_selection_change (atk_obj, GTK_LABEL (widget)))
|
||||
if (check_for_selection_change (accessible, GTK_LABEL (widget)))
|
||||
g_signal_emit_by_name (atk_obj, "text-selection-changed");
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user