[gnome-builder/wip/chergert/flatpak-breakout: 2/7] run-manager: check for non-NULL gvariant parameter
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/flatpak-breakout: 2/7] run-manager: check for non-NULL gvariant parameter
- Date: Sat, 10 Sep 2016 16:38:18 +0000 (UTC)
commit 73a4e8bc48b4d428458572707e4e41a3f2d6bcb0
Author: Christian Hergert <chergert redhat com>
Date: Sat Sep 10 09:31:20 2016 -0700
run-manager: check for non-NULL gvariant parameter
libide/runner/ide-run-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/runner/ide-run-manager.c b/libide/runner/ide-run-manager.c
index 42c6ff9..b02deb0 100644
--- a/libide/runner/ide-run-manager.c
+++ b/libide/runner/ide-run-manager.c
@@ -840,7 +840,7 @@ ide_run_manager_activate_action (GActionGroup *group,
g_assert (IDE_IS_RUN_MANAGER (self));
g_assert (action_name != NULL);
- if (g_variant_is_floating (parameter))
+ if (parameter != NULL && g_variant_is_floating (parameter))
sunk = g_variant_ref_sink (parameter);
if (FALSE) {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]