diff options
Diffstat (limited to 'pluma/pluma-print-preview.c')
-rw-r--r-- | pluma/pluma-print-preview.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |