diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-06-01 13:47:25 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-06-01 13:47:25 (GMT) |
commit | 91b6a07e23a5efcff9d69d69794b3a8c1142b1de (patch) | |
tree | 16a7b6c1a9fce9b5db230be16c1d9b34d5892bc2 /libview | |
parent | 0ce1888ca87ec1f903f6e680c3b0b6e88c788e41 (diff) |
[libview] Do not create popup window if the annot doesn't have a popup
Diffstat (limited to 'libview')
-rw-r--r-- | libview/ev-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index b7ca943..ee81680 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); |