summaryrefslogtreecommitdiff
path: root/src/glibext/gbuffersegment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext/gbuffersegment.h')
-rw-r--r--src/glibext/gbuffersegment.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/glibext/gbuffersegment.h b/src/glibext/gbuffersegment.h
index edbf44c..96011bb 100644
--- a/src/glibext/gbuffersegment.h
+++ b/src/glibext/gbuffersegment.h
@@ -31,6 +31,9 @@
#include <pango/pango.h>
+#include "gfontcache.h"
+
+
#define G_TYPE_BUFFER_SEGMENT (g_buffer_segment_get_type())
#define G_BUFFER_SEGMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_BUFFER_SEGMENT, GBufferSegment))
@@ -72,7 +75,7 @@ typedef struct _GBufferSegmentClass GBufferSegmentClass;
GType g_buffer_segment_get_type(void);
/* Crée un nouveau fragment de texte avec des propriétés. */
-GBufferSegment *g_buffer_segment_new(PangoContext *, PangoAttrList *, const char *, size_t);
+GBufferSegment *g_buffer_segment_new(PangoAttrList *, const char *, size_t);
/* Indique si les textes de deux segments sont identiques. */
bool g_buffer_segment_compare(const GBufferSegment *, const GBufferSegment *);
@@ -90,7 +93,7 @@ void g_buffer_segment_cache_colors(GBufferSegment *);
void g_buffer_segment_set_style(GBufferSegment *, SegRenderingStyle);
/* Imprime le fragment de texte représenté. */
-void g_buffer_segment_draw(GBufferSegment *, GdkDrawable *, GdkGC *, gint *, gint);
+void g_buffer_segment_draw(GBufferSegment *, cairo_t *, GFontCache *, gint *, gint);