[gnome-software: 1/7] gs-app: Drop requirement for set_version_history() to be non-NULL
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/7] gs-app: Drop requirement for set_version_history() to be non-NULL
- Date: Fri, 30 Apr 2021 12:08:49 +0000 (UTC)
commit b9e65c362195785c5db89ed72ab2c5445400ce08
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Apr 29 15:49:01 2021 +0100
gs-app: Drop requirement for set_version_history() to be non-NULL
Signed-off-by: Philip Withnall <pwithnall endlessos org>
lib/gs-app.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index a967ec9d1..ef1733987 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -5377,7 +5377,6 @@ gs_app_set_version_history (GsApp *app, GPtrArray *version_history)
GsAppPrivate *priv = gs_app_get_instance_private (app);
g_autoptr(GMutexLocker) locker = NULL;
g_return_if_fail (GS_IS_APP (app));
- g_return_if_fail (version_history != NULL);
locker = g_mutex_locker_new (&priv->mutex);
_g_set_ptr_array (&priv->version_history, version_history);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]