[libgda] GdauiGrid: allow the "model" property to be changed after creation
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdauiGrid: allow the "model" property to be changed after creation
- Date: Thu, 3 Jan 2013 21:38:36 +0000 (UTC)
commit 6a2618df59de28e940fac774503901838b1d39ee
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Jan 3 22:38:07 2013 +0100
GdauiGrid: allow the "model" property to be changed after creation
libgda-ui/gdaui-grid.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda-ui/gdaui-grid.c b/libgda-ui/gdaui-grid.c
index 51a66c4..8c34cde 100644
--- a/libgda-ui/gdaui-grid.c
+++ b/libgda-ui/gdaui-grid.c
@@ -169,7 +169,7 @@ gdaui_grid_class_init (GdauiGridClass *class)
g_object_class_install_property (object_class, PROP_MODEL,
g_param_spec_object ("model", NULL, NULL,
GDA_TYPE_DATA_MODEL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_READWRITE));
}
static void
@@ -230,7 +230,7 @@ gdaui_grid_dispose (GObject *object)
/**
* gdaui_grid_new:
- * @model: a #GdaDataModel
+ * @model: (allow-none): a #GdaDataModel, or %NULL
*
* Creates a new #GdauiGrid widget suitable to display the data in @model
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]