diff options
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 () { |