summaryrefslogtreecommitdiff
path: root/src/glibext/linesegment.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
commitb370370a9e35f9dd2357102b17338d3d93bb62aa (patch)
treeb8a8c5019a0705a75cf9cf8572c07219bc159076 /src/glibext/linesegment.h
parent2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff)
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/glibext/linesegment.h')
-rw-r--r--src/glibext/linesegment.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/glibext/linesegment.h b/src/glibext/linesegment.h
index 99837f9..4859fbb 100644
--- a/src/glibext/linesegment.h
+++ b/src/glibext/linesegment.h
@@ -27,13 +27,13 @@
#include <glib-object.h>
#include <stdbool.h>
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
# include <gdk/gdk.h>
# include <pango/pango.h>
#endif
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Liste identifiant un ensemble de segments */
typedef struct _segcnt_list segcnt_list;
@@ -45,7 +45,7 @@ typedef struct _segcnt_list segcnt_list;
/* ------------------------ NATURE POUR UN FRAGMENT DE TEXTE ------------------------ */
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Procède à l'initialisation des paramètres de rendu de texte. */
bool load_segment_rendering_parameters(void);
@@ -136,7 +136,7 @@ RenderingTagType get_line_segment_type(const line_segment *);
/* Fournit le texte brut conservé dans le segment. */
char *get_line_segment_text(const line_segment *, bool);
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Fournit la quantité de pixels requise pour l'impression. */
gint get_line_segment_width(const line_segment *);
@@ -185,7 +185,7 @@ typedef struct _buffer_export_context
} buffer_export_context;
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Exporte tous les styles utilisés par des segments. */
void export_line_segment_style(buffer_export_context *, BufferExportType);
@@ -200,7 +200,7 @@ void export_line_segment(const line_segment *, buffer_export_context *, BufferEx
/* -------------------- GESTION OPTIMALE D'UNE LISTE DE CONTENUS -------------------- */
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Initilise une liste de contenus de segments. */
segcnt_list *init_segment_content_list(void);