From 45a1d90a3a453950f74bada5c5337554cb596062 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 28 May 2000 15:52:25 +0000 Subject: Since we require GLib-1.3, and thus can no longer build the examples Sun May 28 16:24:43 2000 Owen Taylor * examples/Makefile.am examples/viewer-qt.cc examples/viewer-qt.h: Since we require GLib-1.3, and thus can no longer build the examples against GTK+-1.2, and since there is a nasty circular dependency if we build examples against GTK+-1.3, rewrite (optional) example program in Qt. (I wasn't going to do it in Xaw or straight Xlib...) * configure.in: Added checks for Qt. * pango/pango-layout.h: Fix constness. --- examples/viewer.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'examples/viewer.c') diff --git a/examples/viewer.c b/examples/viewer.c index cbc060a6..1fb93ef8 100644 --- a/examples/viewer.c +++ b/examples/viewer.c @@ -37,7 +37,6 @@ #define BUFSIZE 1024 typedef struct _Paragraph Paragraph; -typedef struct _Line Line; /* Structure representing a paragraph */ @@ -48,16 +47,6 @@ struct _Paragraph { PangoLayout *layout; }; -/* Structure representing a line - */ - struct _Line { - /* List of PangoItems for this paragraph in visual order */ - GList *runs; - int ascent; /* Ascent of line, in pixels */ - int descent; /* Descent of lines, in pixels */ - int offset; /* Offset from left margin line, in pixels */ -}; - GList *paragraphs; static PangoFontDescription font_description; @@ -531,12 +520,6 @@ make_styles_combo () return combo; } -int -cmp_strings (const void *a, const void *b) -{ - return strcmp (*(const char **)a, *(const char **)b); -} - GtkWidget * make_families_menu () { -- cgit v1.2.1