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

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881

Signed-off-by: Javier Jardón <jjardon@gnome.org>
This commit is contained in:
Hiroyuki Ikezoe 2009-12-19 01:18:14 +01:00 committed by Tristan Van Berkom
parent 360820e9bf
commit f8b8bb4bf9
3 changed files with 9 additions and 1 deletions

View File

@ -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:

View File

@ -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;

View File

@ -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: