Commit 5fbcad2e authored by Christian Hergert's avatar Christian Hergert
Browse files


This is a a better type instance check since we use the actual value from
the hash table.
parent daacb56e
......@@ -512,7 +512,7 @@ ide_context_get_service_typed (IdeContext *self,
while (g_hash_table_iter_next (&iter, &key, &value))
if (g_type_is_a (service_type, GPOINTER_TO_SIZE (key)))
if (G_TYPE_CHECK_INSTANCE_TYPE (value, service_type))
return value;
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