[gnome-software] trivial: Fix a tiny compiler warning in the plugin loader
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a tiny compiler warning in the plugin loader
- Date: Tue, 29 Sep 2015 13:52:50 +0000 (UTC)
commit f09fabec7ebe667106ab9ab9421edfcede76f79f
Author: Richard Hughes <richard hughsie com>
Date: Tue Sep 29 14:04:15 2015 +0100
trivial: Fix a tiny compiler warning in the plugin loader
src/gs-plugin-loader.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index fb359de..27d9f5d 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3592,10 +3592,10 @@ gs_plugin_loader_offline_update_finish (GsPluginLoader *plugin_loader,
GAsyncResult *res,
GError **error)
{
- g_return_val_if_fail (GS_IS_PLUGIN_LOADER (plugin_loader), NULL);
- g_return_val_if_fail (G_IS_TASK (res), NULL);
- g_return_val_if_fail (g_task_is_valid (res, plugin_loader), NULL);
- g_return_val_if_fail (error == NULL || *error == NULL, NULL);
+ g_return_val_if_fail (GS_IS_PLUGIN_LOADER (plugin_loader), FALSE);
+ g_return_val_if_fail (G_IS_TASK (res), FALSE);
+ g_return_val_if_fail (g_task_is_valid (res, plugin_loader), FALSE);
+ g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
return g_task_propagate_boolean (G_TASK (res), error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]