summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-04-13 10:21:25 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2016-04-13 10:21:25 +0000
commit82014e41c1e158e3b8d3f4ca9af9834400ca8f91 (patch)
tree7b5f66f0fa5bd0c709a862b9dc6eaef24a077d88 /src
parentspw-utilities: Fix deprecated gtk_widget_override_font #Hackfest2016 (diff)
downloadinkscape-82014e41c1e158e3b8d3f4ca9af9834400ca8f91.tar.gz
inkscape-82014e41c1e158e3b8d3f4ca9af9834400ca8f91.zip
gimpcolorwheel: Fix deprecated gtk_widget_style_attach #Hackfest2016
(bzr r14820)
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget/gimpcolorwheel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget/gimpcolorwheel.c b/src/ui/widget/gimpcolorwheel.c
index 3642848df..d54486505 100644
--- a/src/ui/widget/gimpcolorwheel.c
+++ b/src/ui/widget/gimpcolorwheel.c
@@ -303,7 +303,9 @@ gimp_color_wheel_realize (GtkWidget *widget)
priv->window = gdk_window_new (parent_window, &attr, attr_mask);
gdk_window_set_user_data (priv->window, wheel);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_widget_style_attach (widget);
+#endif
}
static void