[gnome-software] trivial: Fix a -Wconst compile warning
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a -Wconst compile warning
- Date: Tue, 7 Mar 2017 17:03:29 +0000 (UTC)
commit fc653fcb75c2f4384f276d4c473469b14a3b5231
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 7 09:16:48 2017 +0000
trivial: Fix a -Wconst compile warning
src/gs-plugin-loader.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 9f43992..7e272f5 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -365,7 +365,8 @@ gs_plugin_loader_create_event_from_error (GsPluginLoader *plugin_loader,
}
static gboolean
-gs_plugin_loader_is_error_fatal (GsPluginFailureFlags failure_flags, GError *err)
+gs_plugin_loader_is_error_fatal (GsPluginFailureFlags failure_flags,
+ const GError *err)
{
if (failure_flags & GS_PLUGIN_FAILURE_FLAGS_FATAL_ANY)
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]