diff options
Diffstat (limited to 'pluma/pluma-print-job.c')
-rw-r--r-- | pluma/pluma-print-job.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pluma/pluma-print-job.c b/pluma/pluma-print-job.c index e1f9f7f8..d26c7364 100644 --- a/pluma/pluma-print-job.c +++ b/pluma/pluma-print-job.c @@ -34,7 +34,7 @@ #endif #include <glib/gi18n.h> -#include <gtksourceview/gtksourceprintcompositor.h> +#include <gtksourceview/gtksource.h> #include "pluma-print-job.h" #include "pluma-debug.h" @@ -517,11 +517,7 @@ create_compositor (PlumaPrintJob *job) print_font_numbers = pluma_prefs_manager_get_print_font_numbers (); job->priv->compositor = GTK_SOURCE_PRINT_COMPOSITOR ( -#if GTK_CHECK_VERSION (3, 0, 0) g_object_new (GTK_SOURCE_TYPE_PRINT_COMPOSITOR, -#else - g_object_new (GTK_TYPE_SOURCE_PRINT_COMPOSITOR, -#endif "buffer", GTK_SOURCE_BUFFER (job->priv->doc), "tab-width", gtk_source_view_get_tab_width (GTK_SOURCE_VIEW (job->priv->view)), "highlight-syntax", gtk_source_buffer_get_highlight_syntax (GTK_SOURCE_BUFFER (job->priv->doc)) && |