diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-17 19:06:19 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-17 19:17:36 -0500 |
commit | d6e3855f95c8e7c442e84ac0bd6b3b40b6c08190 (patch) | |
tree | b90759aec92154e512e0b8dbfb6f13697320da01 /modules | |
parent | f3687a9490a6b8646c75abeccc363e3c39ca21e2 (diff) | |
download | gtk+-d6e3855f95c8e7c442e84ac0bd6b3b40b6c08190.tar.gz |
GailEntry: remove idle if cell editing is canceled
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
Diffstat (limited to 'modules')
-rw-r--r-- | 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 5f239c82ff..c4590dc043 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; |