[gtk] scrolledwindow: Don't NULL the indicator widget in unmap



commit f3c51cdf5f473bd521d1ad89f22022ee40dc03f4
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]