forked from AuroraMiddleware/gtk
gtk: remove unused "window" variable from gtk_entry_draw_frame()
This commit is contained in:
parent
a79f05c7be
commit
287a388415
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user