From 9d51134459a40d3562f864a1d4003957d8343685 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 1 Nov 2017 20:55:41 +0100 Subject: [PATCH] entry: Remove unused variable --- gtk/gtkentry.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index bdef78ba7d..634eb40818 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -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);