[gnome-builder] buildui: check for non-NULL runtime
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buildui: check for non-NULL runtime
- Date: Thu, 21 Jun 2018 20:39:11 +0000 (UTC)
commit 4e3ba422217e819f7c78dd17a1ed5352ca93fd6d
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 21 13:38:29 2018 -0700
buildui: check for non-NULL runtime
src/libide/buildui/ide-build-configuration-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/buildui/ide-build-configuration-view.c
b/src/libide/buildui/ide-build-configuration-view.c
index 3cfa93c53..65674ff73 100644
--- a/src/libide/buildui/ide-build-configuration-view.c
+++ b/src/libide/buildui/ide-build-configuration-view.c
@@ -143,7 +143,7 @@ create_toolchain_row (gpointer item,
g_assert (IDE_IS_CONFIGURATION (configuration));
runtime = ide_configuration_get_runtime (configuration);
- sensitive = ide_runtime_supports_toolchain (runtime, toolchain);
+ sensitive = runtime && ide_runtime_supports_toolchain (runtime, toolchain);
box = g_object_new (GTK_TYPE_BOX,
"spacing", 12,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]