renderer: Disconnect theme change signal handler
The renderer does not stick around so we need to disconnect the signal
handler on "dispose". Since the renderer is not a GObject track the
signal id manually instead of using `g_signal_connect_object ()`.
Fixes 1995285 ("eek-renderer: Honor theme changes")
			
			
This commit is contained in:
		@ -39,6 +39,8 @@ typedef struct EekRenderer
 | 
			
		||||
    GtkStyleContext *button_context; // TODO: maybe move a copy to each button
 | 
			
		||||
    /// Style class for rendering the view and button CSS.
 | 
			
		||||
    gchar *extra_style; // owned
 | 
			
		||||
    // Theme name change signal handler id
 | 
			
		||||
    gulong theme_name_id;
 | 
			
		||||
 | 
			
		||||
    // Mutable state
 | 
			
		||||
    gint scale_factor; /* the outputs scale factor */
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user