Commit 32c73fc1 authored by Christian Hergert's avatar Christian Hergert

debuggerui: hold view reference during async operation

parent e4797ce6
......@@ -102,7 +102,7 @@ on_entry_activate_cb (GObject *source,
GAsyncResult *res,
gpointer user_data)
IdeDebuggerLogView *self = (IdeDebuggerLogView *)user_data;
g_autoptr(IdeDebuggerLogView) self = user_data;
g_return_if_fail (IDE_IS_DEBUGGER_LOG_VIEW (self));
g_return_if_fail (IDE_IS_TASK (res));
......@@ -123,7 +123,7 @@ on_entry_activate (IdeDebuggerLogView *self,
gtk_entry_get_text (entry),
g_object_ref (self));
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