diff options
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 756b0556ba..d4531eedb0 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1920,8 +1920,7 @@ gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell, gtk_editable_select_region (GTK_EDITABLE (priv->entry), 0, -1); - gtk_size_request_get_size (GTK_SIZE_REQUEST (priv->entry), - &requisition, NULL); + gtk_widget_get_preferred_size (priv->entry, &requisition, NULL); if (requisition.height < cell_area->height) { GtkBorder *style_border; |