[gnome-builder/gnome-builder-3-26] workbench: be nice to GPropertyAction
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-26] workbench: be nice to GPropertyAction
- Date: Tue, 26 Sep 2017 09:13:32 +0000 (UTC)
commit 7d9c8263fddccd5c9e1ec7a554d31d2437fc06a8
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 26 02:11:39 2017 -0700
workbench: be nice to GPropertyAction
It really wants a valid string for the state of the action, so ensure
that we have a non-NULL value here.
libide/workbench/ide-workbench.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libide/workbench/ide-workbench.c b/libide/workbench/ide-workbench.c
index 8f58714..ef0fde4 100644
--- a/libide/workbench/ide-workbench.c
+++ b/libide/workbench/ide-workbench.c
@@ -929,7 +929,9 @@ ide_workbench_get_visible_perspective_name (IdeWorkbench *self)
return gtk_stack_get_visible_child_name (GTK_STACK (parent));
}
- return NULL;
+ /* Return a valid string to be nice to GPropertyAction */
+
+ return "";
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]