summaryrefslogtreecommitdiff
path: root/src/nautilus-properties-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-properties-window.c')
-rw-r--r--src/nautilus-properties-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 769c4f5ba..574f023fb 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -2882,11 +2882,13 @@ paint_slice (GtkWidget *widget,
state = gtk_style_context_get_state (context);
gtk_style_context_get_border (context, state, &border);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_style_context_save (context);
gtk_style_context_add_class (context, style_class);
gtk_style_context_get_background_color (context, state, &fill);
gtk_style_context_get_border_color (context, state, &stroke);
gtk_style_context_restore (context);
+G_GNUC_END_IGNORE_DEPRECATIONS
width = gtk_widget_get_allocated_width (widget);
height = gtk_widget_get_allocated_height (widget);