From d26c8e0536686af3b056b23eb504e28900cc5744 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 Oct 2014 00:11:02 -0400 Subject: [PATCH] GtkColorEditor: Stop using deprecated API This call was not needed at all. --- gtk/gtkcoloreditor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c index c647b8c5f2..c2027500ad 100644 --- a/gtk/gtkcoloreditor.c +++ b/gtk/gtkcoloreditor.c @@ -345,8 +345,6 @@ popup_draw (GtkWidget *popup, static void gtk_color_editor_init (GtkColorEditor *editor) { - GdkRGBA transparent = { 0, 0, 0, 0 }; - editor->priv = gtk_color_editor_get_instance_private (editor); editor->priv->use_alpha = TRUE; @@ -370,8 +368,6 @@ gtk_color_editor_init (GtkColorEditor *editor) gtk_style_context_add_class (gtk_widget_get_style_context (editor->priv->h_slider), GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW); - gtk_widget_override_background_color (editor->priv->overlay, 0, &transparent); - /* Create the scaled popup adjustments manually here because connecting user data is not * supported by template GtkBuilder xml (it would be possible to set this up in the xml * but require 4 separate callbacks and would be rather ugly).