From 1b313dd645030fc18dd37817a02705c41dde571e Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sat, 6 Feb 2016 03:50:04 +0100 Subject: GTK+3: add style class pluma-window and pluma-print-preview --- pluma/pluma-print-preview.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pluma/pluma-print-preview.c') diff --git a/pluma/pluma-print-preview.c b/pluma/pluma-print-preview.c index ab111b6f..5a54e7fc 100644 --- a/pluma/pluma-print-preview.c +++ b/pluma/pluma-print-preview.c @@ -1006,6 +1006,10 @@ pluma_print_preview_init (PlumaPrintPreview *preview) priv->gtk_preview = NULL; #if GTK_CHECK_VERSION (3, 0, 0) + GtkStyleContext *context; + + context = gtk_widget_get_style_context (GTK_WIDGET (preview)); + gtk_style_context_add_class (context, "pluma-print-preview"); gtk_orientable_set_orientation (GTK_ORIENTABLE (preview), GTK_ORIENTATION_VERTICAL); #endif -- cgit v1.2.1