[gtk+] GailEntry: remove idle if cell editing is canceled
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GailEntry: remove idle if cell editing is canceled
- Date: Fri, 18 Feb 2011 00:17:44 +0000 (UTC)
commit d6e3855f95c8e7c442e84ac0bd6b3b40b6c08190
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 17 19:06:19 2011 -0500
GailEntry: remove idle if cell editing is canceled
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
modules/other/gail/gailentry.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/modules/other/gail/gailentry.c b/modules/other/gail/gailentry.c
index 5f239c8..c4590dc 100644
--- a/modules/other/gail/gailentry.c
+++ b/modules/other/gail/gailentry.c
@@ -298,11 +298,7 @@ gail_entry_real_notify_gtk (GObject *obj,
}
else if (strcmp (pspec->name, "editing-canceled") == 0)
{
- gboolean canceled;
-
- g_object_get (obj, "editing-canceled", &canceled, NULL);
-
- if (entry->insert_idle_handler && canceled)
+ if (entry->insert_idle_handler)
{
g_source_remove (entry->insert_idle_handler);
entry->insert_idle_handler = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]