Commit c8d47b0c authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

imwayland: Collect return value from ::delete-surrounding signal

There's not much we can do about the signal not being handled, but
we should fetch the return value anyway.
parent b4464e12
......@@ -240,7 +240,7 @@ text_input_delete_surrounding_text_apply (GtkIMContextWaylandGlobal *global,
gboolean valid)
GtkIMContextWayland *context;
gboolean retval;
gint len;
struct surrounding_delete defaults = {0};
......@@ -251,7 +251,7 @@ text_input_delete_surrounding_text_apply (GtkIMContextWaylandGlobal *global,
if (len > 0 && valid)
g_signal_emit_by_name (global->current, "delete-surrounding",
len, &retval);
context->pending_surrounding_delete = defaults;
Supports Markdown
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