[gtk+/wip/baedert/drawing: 23/142] scrolledwindow: Remove useless function call
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 23/142] scrolledwindow: Remove useless function call
- Date: Sun, 4 Jun 2017 16:59:30 +0000 (UTC)
commit 0c2bbc1ef7b2e475ec5b848fc341fe551a507b7a
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]