Commit d6e3855f authored by Matthias Clasen's avatar Matthias Clasen

GailEntry: remove idle if cell editing is canceled

This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
parent f3687a94
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment