[libgdata] freebase: Create async topic replies with the correct GType
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] freebase: Create async topic replies with the correct GType
- Date: Tue, 23 Dec 2014 10:17:16 +0000 (UTC)
commit 0e3915c67150dfdbc17305ec39cbebb244e3f31c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Sep 28 18:37:26 2014 +0200
freebase: Create async topic replies with the correct GType
The async version was wrongly using the parent type, so the returned object
wasn't a GDataFreebaseTopicResult at all.
https://bugzilla.gnome.org/show_bug.cgi?id=737540
gdata/services/freebase/gdata-freebase-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/freebase/gdata-freebase-service.c
b/gdata/services/freebase/gdata-freebase-service.c
index 9063a2c..b20fe52 100644
--- a/gdata/services/freebase/gdata-freebase-service.c
+++ b/gdata/services/freebase/gdata-freebase-service.c
@@ -316,7 +316,7 @@ gdata_freebase_service_get_topic_async (GDataFreebaseService *self, GDataFreebas
g_return_if_fail (callback != NULL);
gdata_service_query_single_entry_async (GDATA_SERVICE (self), get_freebase_authorization_domain (),
"topic",
- GDATA_QUERY (query), GDATA_TYPE_FREEBASE_RESULT, cancellable,
callback, user_data);
+ GDATA_QUERY (query), GDATA_TYPE_FREEBASE_TOPIC_RESULT,
cancellable, callback, user_data);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]