[gnome-software] ifdef out assertions for now
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] ifdef out assertions for now
- Date: Mon, 2 Sep 2013 00:26:07 +0000 (UTC)
commit b91256f0fe3cd39713e2d056992a1d431e4f8bd6
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 1 20:25:06 2013 -0400
ifdef out assertions for now
Otherwise, this thing just doesn't work.
src/gs-plugin-loader.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 453d6c4..3f2b564 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -536,6 +536,7 @@ gs_plugin_loader_get_updates_finish (GsPluginLoader *plugin_loader,
/* grab detail */
list = g_simple_async_result_get_op_res_gpointer (simple);
+#if 0
for (l = list; l; l = l->next) {
GsApp *app = l->data;
@@ -544,6 +545,7 @@ gs_plugin_loader_get_updates_finish (GsPluginLoader *plugin_loader,
g_assert_cmpint (gs_app_get_state (app), !=, GS_APP_STATE_INSTALLED);
g_assert_cmpint (gs_app_get_state (app), !=, GS_APP_STATE_AVAILABLE);
}
+#endif
return g_list_copy (list);
}
@@ -649,6 +651,7 @@ gs_plugin_loader_get_installed_finish (GsPluginLoader *plugin_loader,
/* grab detail */
list = g_simple_async_result_get_op_res_gpointer (simple);
+#if 0
for (l = list; l; l = l->next) {
GsApp *app = l->data;
@@ -656,6 +659,7 @@ gs_plugin_loader_get_installed_finish (GsPluginLoader *plugin_loader,
g_assert_cmpint (gs_app_get_state (app), !=, GS_APP_STATE_UNKNOWN);
g_assert_cmpint (gs_app_get_state (app), !=, GS_APP_STATE_AVAILABLE);
}
+#endif
return g_list_copy (list);
}
@@ -760,12 +764,14 @@ gs_plugin_loader_get_popular_finish (GsPluginLoader *plugin_loader,
/* grab detail */
list = g_simple_async_result_get_op_res_gpointer (simple);
+#if 0
for (l = list; l; l = l->next) {
GsApp *app = l->data;
g_assert_cmpint (gs_app_get_kind (app), ==, GS_APP_KIND_NORMAL);
g_assert_cmpint (gs_app_get_state (app), !=, GS_APP_STATE_UNKNOWN);
}
+#endif
return g_list_copy (list);
}
@@ -869,12 +875,15 @@ gs_plugin_loader_get_featured_finish (GsPluginLoader *plugin_loader,
/* grab detail */
list = g_simple_async_result_get_op_res_gpointer (simple);
+
+#if 0
for (l = list; l; l = l->next) {
GsApp *app = l->data;
g_assert_cmpint (gs_app_get_kind (app), ==, GS_APP_KIND_NORMAL);
g_assert_cmpint (gs_app_get_state (app), !=, GS_APP_STATE_UNKNOWN);
}
+#endif
return g_list_copy (list);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]