[gtk+/wip/matthiasc/monitor] Fixup for properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/monitor] Fixup for properties
- Date: Sun, 3 Apr 2016 14:50:59 +0000 (UTC)
commit 2196be62e3c9e0eb24e188bab5c7ea937949580b
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Apr 2 14:44:32 2016 -0400
Fixup for properties
Construct-only properties must be writable.
gdk/gdkmonitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkmonitor.c b/gdk/gdkmonitor.c
index 0a62f5d..8b3c1f9 100644
--- a/gdk/gdkmonitor.c
+++ b/gdk/gdkmonitor.c
@@ -143,7 +143,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
"Display",
"The display of the monitor",
GDK_TYPE_DISPLAY,
- G_PARAM_READABLE|G_PARAM_CONSTRUCT_ONLY);
+ G_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY);
props[PROP_MANUFACTURER] =
g_param_spec_string ("manufacturer",
"Manufacturer",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]