From 2b5140c97475945b2eea373a124c00bfef16fb2a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Jul 2011 23:03:34 -0400 Subject: [PATCH] Avoid a compiler warning --- gtk/a11y/gtklabelaccessible.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/a11y/gtklabelaccessible.c b/gtk/a11y/gtklabelaccessible.c index 6320eed8ed..b61848d545 100644 --- a/gtk/a11y/gtklabelaccessible.c +++ b/gtk/a11y/gtklabelaccessible.c @@ -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