diff options
Diffstat (limited to 'gtk/inspector')
-rw-r--r-- | gtk/inspector/css-editor.c | 1 | ||||
-rw-r--r-- | gtk/inspector/graphrenderer.c | 4 | ||||
-rw-r--r-- | gtk/inspector/window.c | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gtk/inspector/css-editor.c b/gtk/inspector/css-editor.c index 8047545b62..b1dc9bf701 100644 --- a/gtk/inspector/css-editor.c +++ b/gtk/inspector/css-editor.c @@ -28,7 +28,6 @@ #include "gtkcssprovider.h" #include "gtkstyleprovider.h" -#include "gtkstylecontext.h" #include "gtktextview.h" #include "gtkmessagedialog.h" #include "gtkfilechooserdialog.h" diff --git a/gtk/inspector/graphrenderer.c b/gtk/inspector/graphrenderer.c index 6ade21e5b2..595f82213e 100644 --- a/gtk/inspector/graphrenderer.c +++ b/gtk/inspector/graphrenderer.c @@ -22,7 +22,7 @@ #include "graphdata.h" #include "gtksnapshot.h" -#include "gtkstylecontext.h" +#include "deprecated/gtkstylecontext.h" enum { PROP_0, @@ -155,8 +155,10 @@ graph_renderer_snapshot (GtkWidget *widget, 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 cr = gtk_snapshot_append_cairo (snapshot, &GRAPHENE_RECT_INIT ( diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c index 1364f34d3f..8c55db19a0 100644 --- a/gtk/inspector/window.c +++ b/gtk/inspector/window.c @@ -63,7 +63,6 @@ #include "gtkrevealer.h" #include "gtklayoutmanager.h" #include "gtkcssprovider.h" -#include "gtkstylecontext.h" #include "gtkwidgetprivate.h" |