#include "graphdata.h"
#include "gtksnapshot.h"
-#include "deprecated/gtkstylecontext.h"
enum {
PROP_0,
GtkSnapshot *snapshot)
{
GraphRenderer *self = GRAPH_RENDERER (widget);
- GtkStyleContext *context;
double minimum, maximum, diff;
double x, y, width, height;
cairo_t *cr;
diff = maximum - minimum;
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- context = gtk_widget_get_style_context (widget);
- gtk_style_context_get_color (context, &color);
-G_GNUC_END_IGNORE_DEPRECATIONS
+ gtk_widget_get_style_color (widget, &color);
cr = gtk_snapshot_append_cairo (snapshot,
&GRAPHENE_RECT_INIT (