From 287a3884157fff03873db8fbe29d8423034eef29 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 21 Jan 2011 12:47:56 +0100 Subject: [PATCH] gtk: remove unused "window" variable from gtk_entry_draw_frame() --- gtk/gtkentry.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 880db89716..f05cc2c6fc 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -3346,15 +3346,12 @@ gtk_entry_draw_frame (GtkWidget *widget, { GtkEntry *entry = GTK_ENTRY (widget); GtkEntryPrivate *priv = entry->priv; - GdkWindow *window; gint x = 0, y = 0, width, height; GtkAllocation allocation; gint frame_x, frame_y; cairo_save (cr); - window = gtk_widget_get_window (widget); - get_frame_size (GTK_ENTRY (widget), &frame_x, &frame_y, &width, &height); gtk_widget_get_allocation (widget, &allocation);