summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-01 20:55:41 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-01 20:55:41 +0100
commit9d51134459a40d3562f864a1d4003957d8343685 (patch)
treeb3a6e29b892d43ade22d7d46bed48322fa837e3c /gtk/gtkentry.c
parent801d69017a1aa9b07ceb8ff7e3655737e579cc07 (diff)
downloadgtk+-9d51134459a40d3562f864a1d4003957d8343685.tar.gz
entry: Remove unused variable
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r--gtk/gtkentry.c3
1 files changed, 0 insertions, 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);