diff options
author | monsta <[email protected]> | 2016-11-06 14:43:26 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-06 14:43:26 +0300 |
commit | 4c06cb5cd0859067769dac1317682d430b18cc78 (patch) | |
tree | 0c363ee71311366fb2016df9858858ef5ef2d25d /pluma/pluma-print-job.c | |
parent | 65371f53dbb06180b750dad7c19e7bcf0f8651d6 (diff) | |
download | pluma-4c06cb5cd0859067769dac1317682d430b18cc78.tar.bz2 pluma-4c06cb5cd0859067769dac1317682d430b18cc78.tar.xz |
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
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)) && |