From 91b6a07e23a5efcff9d69d69794b3a8c1142b1de Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 1 Jun 2009 15:47:25 +0200 Subject: [PATCH] [libview] Do not create popup window if the annot doesn't have a popup --- libview/ev-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libview/ev-view.c b/libview/ev-view.c index b7ca9433..ee81680a 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2314,6 +2314,9 @@ show_annotation_windows (EvView *view, if (!EV_IS_ANNOTATION_MARKUP (annot)) continue; + if (!ev_annotation_markup_has_popup (EV_ANNOTATION_MARKUP (annot))) + continue; + window = g_object_get_data (G_OBJECT (annot), "popup"); if (window) { ev_view_window_child_move_with_parent (view, window); -- 2.43.5