[gtk+] scrolledwindow: Remove useless function call



commit 8bf3b2d5e4c25bf29221f93971594a597b2c301a
Author: Timm Bäder <mail baedert org>
Date:   Sat May 6 11:44:30 2017 +0200

    scrolledwindow: Remove useless function call
    
    We never use the result.

 gtk/gtkscrolledwindow.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 95c2602..4ff12d3 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -1358,7 +1358,6 @@ gtk_scrolled_window_size_allocate (GtkWidget     *widget,
   GtkScrolledWindow *scrolled_window = GTK_SCROLLED_WINDOW (widget);
   GtkScrolledWindowPrivate *priv = scrolled_window->priv;
   GtkBin *bin;
-  GtkAllocation relative_allocation;
   GtkAllocation child_allocation;
   GtkAllocation sw_allocation;
   GtkWidget *child;
@@ -1587,7 +1586,6 @@ gtk_scrolled_window_size_allocate (GtkWidget     *widget,
     {
       priv->hscrollbar_visible = priv->hscrollbar_policy == GTK_POLICY_ALWAYS;
       priv->vscrollbar_visible = priv->vscrollbar_policy == GTK_POLICY_ALWAYS;
-      gtk_scrolled_window_relative_allocation (widget, &relative_allocation);
     }
 
   gtk_widget_set_child_visible (priv->hscrollbar, priv->hscrollbar_visible);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]