entry: Remove unused variable
authorBenjamin Otte <otte@redhat.com>
Wed, 1 Nov 2017 19:55:41 +0000 (20:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 1 Nov 2017 19:55:41 +0000 (20:55 +0100)
gtk/gtkentry.c

index bdef78ba7d6b6a7d5a91c8e60c1a34b01945c2ef..634eb408187b21f64fb242a5b71f43eb730ba422 100644 (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);