[gtk/wip/baedert/widgetview: 1/6] scrolledwindow: Don't NULL the indicator widget in unmap
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/widgetview: 1/6] scrolledwindow: Don't NULL the indicator widget in unmap
- Date: Wed, 23 Jan 2019 16:17:54 +0000 (UTC)
commit 51a0f989003e1d737f383a747de1c2ae2c10935a
Author: Timm Bäder <mail baedert org>
Date: Sat Jan 19 17:53:05 2019 +0100
scrolledwindow: Don't NULL the indicator widget in unmap
We still have the widget, so just keep the pointer to it.
gtk/gtkscrolledwindow.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index acb4c65700..b431e07e9c 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -3606,7 +3606,6 @@ indicator_reset (Indicator *indicator)
indicator->tick_id = 0;
}
- indicator->scrollbar = NULL;
indicator->over = FALSE;
gtk_progress_tracker_finish (&indicator->tracker);
indicator->current_pos = indicator->source_pos = indicator->target_pos = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]