Commit f8b8bb4b authored by Hiroyuki Ikezoe's avatar Hiroyuki Ikezoe Committed by Tristan Van Berkom

[gtk] GtkCellEditable::editing-cancelled should be writable

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881Signed-off-by: default avatarJavier Jardón <jjardon@gnome.org>
parent 360820e9
......@@ -76,7 +76,7 @@ gtk_cell_editable_base_init (GtkCellEditableIface *iface)
P_("Editing Canceled"),
P_("Indicates that editing has been canceled"),
FALSE,
GTK_PARAM_READABLE));
GTK_PARAM_READWRITE));
/**
* GtkCellEditable::editing-done:
......
......@@ -1014,6 +1014,10 @@ gtk_combo_box_set_property (GObject *object,
g_value_get_enum (value));
break;
case PROP_EDITING_CANCELED:
combo_box->priv->editing_canceled = g_value_get_boolean (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
......
......@@ -1990,6 +1990,10 @@ gtk_entry_set_property (GObject *object,
gtk_im_multicontext_set_context_id (GTK_IM_MULTICONTEXT (entry->im_context), priv->im_module);
break;
case PROP_EDITING_CANCELED:
entry->editing_canceled = g_value_get_boolean (value);
break;
case PROP_SCROLL_OFFSET:
case PROP_CURSOR_POSITION:
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment