diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-28 15:52:25 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-28 15:52:25 +0000 |
commit | 45a1d90a3a453950f74bada5c5337554cb596062 (patch) | |
tree | e48eacb949402aab82269bed5fec6de06dac0e5b /examples/viewer.c | |
parent | 1c7a5a30d5896a79a4a0c806b43a2db7e4bcc4f8 (diff) | |
download | pango-45a1d90a3a453950f74bada5c5337554cb596062.tar.gz |
Since we require GLib-1.3, and thus can no longer build the examples
Sun May 28 16:24:43 2000 Owen Taylor <otaylor@redhat.com>
* 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.
Diffstat (limited to 'examples/viewer.c')
-rw-r--r-- | examples/viewer.c | 17 |
1 files changed, 0 insertions, 17 deletions
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 () { |