[gtk+/wip/baedert/drawing: 43/55] scrolledwindow: Remove useless function call



commit e4408c548caecedb7bb03e6b74cc4fe715215105
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 828c629..e59cba5 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -1394,7 +1394,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;
@@ -1623,7 +1622,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]