diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2006-12-15 10:18:38 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2006-12-15 10:18:38 (GMT) |
commit | 602f7fc6c5e5ff91e64de65758a6464431dbbcc9 (patch) | |
tree | e7edc49c7e06af0efd4530e23f09d8fecd026509 /shell/ev-window.c | |
parent | 904a6dfbe101c59b7d04058ae7b8a14163f1e094 (diff) |
Check if text inserted in page entry is a valid page number when it
2006-12-15 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-action.[ch]: (activate_cb):
* shell/ev-window.c: (activate_label_cb):
Check if text inserted in page entry is a valid page number when it
doesn't match to any document page label. Fixes bug #383165.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index a4a6b6e..19ad581 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -3891,7 +3891,7 @@ activate_link_cb (EvPageAction *page_action, EvLink *link, EvWindow *window) } static gboolean -activate_label_cb (EvPageAction *page_action, char *label, EvWindow *window) +activate_label_cb (EvPageAction *page_action, const gchar *label, EvWindow *window) { g_return_val_if_fail (EV_IS_WINDOW (window), FALSE); |