diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-12-28 13:37:40 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-12-28 13:37:40 (GMT) |
commit | 47565f7ff3bbb1d56e2a7851c44ae10981c229ac (patch) | |
tree | db35d58c08ad06a17ba9fd8b3bbfc6d38d7d5d4a /backend | |
parent | 2b997472b125397a3cd96a66153b7ea94966fc63 (diff) |
Fix for the bug #325067 with more intelligent selection of current link in
* backend/ev-link.c: (ev_link_get_page), (ev_link_init):
* shell/ev-page-action.c: (build_new_tree_cb):
* shell/ev-sidebar-links.c: (links_page_num_func),
(update_page_callback_foreach), (update_page_callback):
* shell/ev-view.c: (scroll_to_current_page):
Fix for the bug #325067 with more intelligent selection
of current link in sidebar. Make sidebar handle links
of FITR-like type more correctly.
* dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
(dvi_pixbuf_put_pixel):
Fix memory consumtion with disabled alpha channel.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ev-link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ev-link.c b/backend/ev-link.c index b8721d9..a325c35 100644 --- a/backend/ev-link.c +++ b/backend/ev-link.c @@ -120,7 +120,7 @@ ev_link_get_link_type (EvLink *self) int ev_link_get_page (EvLink *self) { - g_return_val_if_fail (EV_IS_LINK (self), 0); + g_return_val_if_fail (EV_IS_LINK (self), -1); return self->priv->page; } @@ -316,7 +316,7 @@ static void ev_link_init (EvLink *ev_link) { ev_link->priv = EV_LINK_GET_PRIVATE (ev_link); - + ev_link->priv->page = -1; ev_link->priv->type = EV_LINK_TYPE_TITLE; } |