Update GtkToolPalette to GtkStyleContext.
This commit is contained in:
		@ -757,9 +757,8 @@ gtk_tool_palette_realize (GtkWidget *widget)
 | 
			
		||||
  gtk_widget_set_window (widget, window);
 | 
			
		||||
  gdk_window_set_user_data (window, widget);
 | 
			
		||||
 | 
			
		||||
  gtk_widget_style_attach (widget);
 | 
			
		||||
  gtk_style_set_background (gtk_widget_get_style (widget),
 | 
			
		||||
                            window, GTK_STATE_NORMAL);
 | 
			
		||||
  gtk_style_context_set_background (gtk_widget_get_style_context (widget),
 | 
			
		||||
                                    window);
 | 
			
		||||
 | 
			
		||||
  gtk_container_forall (GTK_CONTAINER (widget),
 | 
			
		||||
                        (GtkCallback) gtk_widget_set_parent_window,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user