[gtk+/wip/baedert/drawing: 109/355] scrolledwindow: Remove useless function call
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 109/355] scrolledwindow: Remove useless function call
- Date: Tue, 11 Jul 2017 16:37:29 +0000 (UTC)
commit 1476cb8d8b3b4e39a3a9bef2bf2d488795d73af3
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]