summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbkma <[email protected]>2021-02-06 10:01:14 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2021-02-06 10:52:59 +0100
commit784788e337797ab8bed29b3055734bc49011edc1 (patch)
tree69adb3d147ca2d0058d8a0ea8f1c241ed882bb8f
parent97e1fe87f7cb362e0731b4aceec5b8f21e5632d1 (diff)
downloadpluma-784788e337797ab8bed29b3055734bc49011edc1.tar.bz2
pluma-784788e337797ab8bed29b3055734bc49011edc1.tar.xz
fix printing wrap mode
-rw-r--r--pluma/pluma-print-job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pluma/pluma-print-job.c b/pluma/pluma-print-job.c
index 558d331b..601e4927 100644
--- a/pluma/pluma-print-job.c
+++ b/pluma/pluma-print-job.c
@@ -374,7 +374,7 @@ create_custom_widget_cb (GtkPrintOperation *operation,
/* Text wrapping */
wrap_mode = pluma_settings_get_wrap_mode (job->priv->print_settings,
- PLUMA_SETTINGS_WRAP_MODE);
+ PLUMA_SETTINGS_PRINT_WRAP_MODE);
switch (wrap_mode)
{
@@ -522,7 +522,7 @@ create_compositor (PlumaPrintJob *job)
print_header = g_settings_get_boolean (job->priv->print_settings,
PLUMA_SETTINGS_PRINT_HEADER);
wrap_mode = pluma_settings_get_wrap_mode (job->priv->print_settings,
- PLUMA_SETTINGS_WRAP_MODE);
+ PLUMA_SETTINGS_PRINT_WRAP_MODE);
job->priv->compositor = GTK_SOURCE_PRINT_COMPOSITOR (