[gnome-builder/wip/extension-adapter: 1/3] slider: drop use of deprecated gtk_style_context_set_background()



commit c02700e9743b17072b72ea44e1fa7c70e9e46ee7
Author: Christian Hergert <christian hergert me>
Date:   Wed Jul 8 17:14:28 2015 -0700

    slider: drop use of deprecated gtk_style_context_set_background()
    
    We don't actually need to render a background anyway, so this shouldn't
    make a difference.

 src/workspace/gb-slider.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/workspace/gb-slider.c b/src/workspace/gb-slider.c
index 2506493..1dc2d1f 100644
--- a/src/workspace/gb-slider.c
+++ b/src/workspace/gb-slider.c
@@ -245,7 +245,6 @@ gb_slider_create_child_window (GbSlider      *self,
 
   window = gdk_window_new (gtk_widget_get_window (widget), &attributes, attributes_mask);
   gtk_widget_register_window (widget, window);
-  gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);
 
   gtk_widget_set_parent_window (child->widget, window);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]