From 7552c93eccbadf0b02cc113e94cd2f580021b48f Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sat, 23 Jun 2012 22:44:22 +0200 Subject: [PATCH 07/10] Fix warning "operation on 'page' may be undefined [-Wsequence-point]" --- glib/demo/text.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/glib/demo/text.c b/glib/demo/text.c index b05581d..c53773a 100644 --- a/glib/demo/text.c +++ b/glib/demo/text.c @@ -262,7 +262,7 @@ pgd_text_view_query_tooltip (GtkTextView *textview, g_free (x2); g_free (y2); - page = page = poppler_document_get_page (demo->doc, demo->page); + page = poppler_document_get_page (demo->doc, demo->page); text = poppler_page_get_selected_text (page, POPPLER_SELECTION_GLYPH, &rect); gtk_tooltip_set_text (tooltip, text); g_free (text); -- 1.7.5.4