entry: Remove unused variable

This commit is contained in:
Benjamin Otte 2017-11-01 20:55:41 +01:00
parent 801d69017a
commit 9d51134459

View File

@ -2982,15 +2982,12 @@ gtk_entry_realize (GtkWidget *widget)
{
GtkEntry *entry;
GtkEntryPrivate *priv;
GtkAllocation text_allocation;
GTK_WIDGET_CLASS (gtk_entry_parent_class)->realize (widget);
entry = GTK_ENTRY (widget);
priv = entry->priv;
gtk_entry_get_text_allocation (entry, &text_allocation);
gtk_im_context_set_client_widget (priv->im_context, widget);
gtk_entry_adjust_scroll (entry);