[gtk+] entry: Remove unused variable



commit 9d51134459a40d3562f864a1d4003957d8343685
Author: Benjamin Otte <otte redhat com>
Date:   Wed Nov 1 20:55:41 2017 +0100

    entry: Remove unused variable

 gtk/gtkentry.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index bdef78b..634eb40 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]