[gtk+] gtk: remove unused "window" variable from gtk_entry_draw_frame()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk: remove unused "window" variable from gtk_entry_draw_frame()
- Date: Fri, 21 Jan 2011 13:21:20 +0000 (UTC)
commit 287a3884157fff03873db8fbe29d8423034eef29
Author: Michael Natterer <mitch gimp org>
Date: Fri Jan 21 12:47:56 2011 +0100
gtk: remove unused "window" variable from gtk_entry_draw_frame()
gtk/gtkentry.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 880db89..f05cc2c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]