[gtk+] scrolledwindow: Remove unused variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] scrolledwindow: Remove unused variable
- Date: Fri, 3 Oct 2014 04:21:27 +0000 (UTC)
commit d941e5f0c08fad7cf145c6dbe015287b88a7b14d
Author: Benjamin Otte <otte redhat com>
Date: Thu Oct 2 14:05:19 2014 +0200
scrolledwindow: Remove unused variable
gtk/gtkscrolledwindow.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 464d14f..6a7a8e0 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -1627,7 +1627,7 @@ gtk_scrolled_window_draw_overshoot (GtkScrolledWindow *scrolled_window,
cairo_t *cr)
{
GtkWidget *widget = GTK_WIDGET (scrolled_window);
- GtkAllocation allocation, relative_allocation;
+ GtkAllocation relative_allocation;
gint overshoot_x, overshoot_y;
cairo_pattern_t *pattern;
GtkStyleContext *context;
@@ -1642,7 +1642,6 @@ gtk_scrolled_window_draw_overshoot (GtkScrolledWindow *scrolled_window,
cairo_push_group (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_LIGHTEN);
- gtk_widget_get_allocation (widget, &allocation);
gtk_scrolled_window_relative_allocation (widget, &relative_allocation);
context = gtk_widget_get_style_context (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]