[anjuta] libanjuta: Set "relative-path" property of AnjutaFileDropEntry as readwrite.
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] libanjuta: Set "relative-path" property of AnjutaFileDropEntry as readwrite.
- Date: Wed, 28 Nov 2012 20:22:20 +0000 (UTC)
commit a3971859a4f5a0f7c9e473792765d4b5757166fe
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Mon Nov 26 09:33:53 2012 +0100
libanjuta: Set "relative-path" property of AnjutaFileDropEntry as readwrite.
Also set the default to NULL and pass G_PARAM_STATIC_STRINGS as paramspec flag.
Fixes the following assertion:
(lt-anjuta:10419): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `pspec->flags & (G_PARAM_READABLE | G_PARAM_WRITABLE)' failed
https://bugzilla.gnome.org/show_bug.cgi?id=689065
libanjuta/anjuta-file-drop-entry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libanjuta/anjuta-file-drop-entry.c b/libanjuta/anjuta-file-drop-entry.c
index 8e16b85..f67603e 100644
--- a/libanjuta/anjuta-file-drop-entry.c
+++ b/libanjuta/anjuta-file-drop-entry.c
@@ -204,8 +204,8 @@ anjuta_file_drop_entry_class_init (AnjutaFileDropEntryClass *klass)
g_param_spec_string ("relative-path",
"relative-path",
_("Path that dropped files should be relative to"),
- "",
- 0));
+ NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]