summaryrefslogtreecommitdiff
path: root/pluma/pluma-print-preview.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-06 03:50:04 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-06 03:50:04 +0100
commit1b313dd645030fc18dd37817a02705c41dde571e (patch)
tree1afc7ac7524bea9b9355f279a8fc0ea61926de1e /pluma/pluma-print-preview.c
parent9fce9762c9f16ebd20d3813975bc75d786380641 (diff)
downloadpluma-1b313dd645030fc18dd37817a02705c41dde571e.tar.bz2
pluma-1b313dd645030fc18dd37817a02705c41dde571e.tar.xz
GTK+3: add style class pluma-window and pluma-print-preview
Diffstat (limited to 'pluma/pluma-print-preview.c')
-rw-r--r--pluma/pluma-print-preview.c4
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