Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
pureos-store
Commits
b91256f0
Commit
b91256f0
authored
Sep 01, 2013
by
Matthias Clasen
Browse files
ifdef out assertions for now
Otherwise, this thing just doesn't work.
parent
57fe3816
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gs-plugin-loader.c
View file @
b91256f0
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment