[gtk+/font-chooser] Avoid a compiler warning
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser] Avoid a compiler warning
- Date: Wed, 20 Jul 2011 20:18:17 +0000 (UTC)
commit da2ac0696a2fefa56c4903fb5e444697708702e1
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 17 23:03:34 2011 -0400
Avoid a compiler warning
gtk/a11y/gtklabelaccessible.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/a11y/gtklabelaccessible.c b/gtk/a11y/gtklabelaccessible.c
index 6320eed..b61848d 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]