gtk_style_attach() is deprecated in GTK+3 and the migration guide says
that it is no longer needed. I guess it is possible that the
gtk_widget_set_style() call is somehow still needed, but I don't
understand the intent of that call and removing it seems to have no
visible effect.
g_object_unref (attributes_south.cursor);
g_object_unref (attributes_middle.cursor);
- {
- GtkStyle *style = gtk_widget_get_style (widget);
- style = gtk_style_attach (style, gtk_widget_get_window (widget));
- gtk_widget_set_style (widget, style);
- }
-
-
if (xpaned->top_left_child
&& gtk_widget_get_visible (xpaned->top_left_child)
&& xpaned->top_right_child