Commit d26c8e05 authored by Matthias Clasen's avatar Matthias Clasen

GtkColorEditor: Stop using deprecated API

This call was not needed at all.
parent d6a467d4
......@@ -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_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).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment