diff options
author | waker <wakeroid@gmail.com> | 2012-05-28 11:41:40 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-05-28 11:41:40 +0200 |
commit | 72b067c040d328b4ed2bd5d9a27460ed7d87c5f8 (patch) | |
tree | fd7a6fe86476582682c2749e076c5e01b38d36b2 | |
parent | ed49713ddeeab5965915d9a08daa75b8dabd83dc (diff) |
gtkui: use g_object_class_install_property instead of g_object_class_install_properties for better compatibility
-rw-r--r-- | plugins/gtkui/ddbcellrenderertextmultiline.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/gtkui/ddbcellrenderertextmultiline.c b/plugins/gtkui/ddbcellrenderertextmultiline.c index 26278df2..a6493f92 100644 --- a/plugins/gtkui/ddbcellrenderertextmultiline.c +++ b/plugins/gtkui/ddbcellrenderertextmultiline.c @@ -149,7 +149,7 @@ enum { PROP_0, - PROP_EDITING_canceled, + PROP_EDITING_CANCELED, N_PROPERTIES }; @@ -166,7 +166,7 @@ ddb_cell_editable_text_view_set_property (GObject *object, switch (property_id) { - case PROP_EDITING_canceled: + case PROP_EDITING_CANCELED: self->priv->editing_canceled = g_value_get_boolean (value); break; @@ -187,7 +187,7 @@ ddb_cell_editable_text_view_get_property (GObject *object, switch (property_id) { - case PROP_EDITING_canceled: + case PROP_EDITING_CANCELED: g_value_set_boolean (value, self->priv->editing_canceled); break; @@ -207,7 +207,7 @@ static void ddb_cell_editable_text_view_class_init (DdbCellEditableTextViewClass G_OBJECT_CLASS (klass)->set_property = ddb_cell_editable_text_view_set_property; G_OBJECT_CLASS (klass)->get_property = ddb_cell_editable_text_view_get_property; - obj_properties[PROP_EDITING_canceled] = + obj_properties[PROP_EDITING_CANCELED] = g_param_spec_boolean ("editing-canceled", "Editing canceled", "Indicates whether editing on the cell has been canceled", @@ -215,7 +215,7 @@ static void ddb_cell_editable_text_view_class_init (DdbCellEditableTextViewClass G_PARAM_READWRITE); GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - g_object_class_install_properties (gobject_class, N_PROPERTIES, obj_properties); + g_object_class_install_property (gobject_class, PROP_EDITING_CANCELED, obj_properties[PROP_EDITING_CANCELED]); } |