[gnome-builder/wip/plugins: 21/36] workbench: adjust property requirements for GbWorkbenchAddin:workbench
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/plugins: 21/36] workbench: adjust property requirements for GbWorkbenchAddin:workbench
- Date: Mon, 8 Jun 2015 20:28:39 +0000 (UTC)
commit 45adfc3a745c096c089af9fd98073ecb7807cc2f
Author: Christian Hergert <christian hergert me>
Date: Sat Jun 6 15:12:42 2015 -0700
workbench: adjust property requirements for GbWorkbenchAddin:workbench
src/workbench/gb-workbench-addin.c | 2 +-
src/workbench/gb-workbench-addin.h | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/workbench/gb-workbench-addin.c b/src/workbench/gb-workbench-addin.c
index 0baaa65..6328947 100644
--- a/src/workbench/gb-workbench-addin.c
+++ b/src/workbench/gb-workbench-addin.c
@@ -46,7 +46,7 @@ gb_workbench_addin_default_init (GbWorkbenchAddinInterface *iface)
_("Workbench"),
_("The workbench window."),
GB_TYPE_WORKBENCH,
- (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ (G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
g_object_interface_install_property (iface, gParamSpecs [PROP_WORKBENCH]);
gSignals [LOAD] = g_signal_new ("load",
diff --git a/src/workbench/gb-workbench-addin.h b/src/workbench/gb-workbench-addin.h
index 63b0866..84f42cc 100644
--- a/src/workbench/gb-workbench-addin.h
+++ b/src/workbench/gb-workbench-addin.h
@@ -21,6 +21,8 @@
#include <glib-object.h>
+#include "gb-workbench.h"
+
G_BEGIN_DECLS
#define GB_TYPE_WORKBENCH_ADDIN (gb_workbench_addin_get_type ())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]