X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-link.c;h=a9ad41e8d4cb0de67cfc5c73e632826eb75ccc0f;hb=212d9a536bc60e711b779feb5e8aa33db654997d;hp=768b6873946189cc7448ee3bae44d5a384c1a083;hpb=44205a9ede6bde99d7594a9c531521540acc7e81;p=evince.git diff --git a/libdocument/ev-link.c b/libdocument/ev-link.c index 768b6873..a9ad41e8 100644 --- a/libdocument/ev-link.c +++ b/libdocument/ev-link.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -180,23 +180,4 @@ ev_link_new (const char *title, NULL)); } -gint -ev_link_get_page (EvLink *link) -{ - EvLinkAction *action; - EvLinkDest *dest; - - action = ev_link_get_action (link); - if (!action) - return -1; - if (ev_link_action_get_action_type (action) != - EV_LINK_ACTION_TYPE_GOTO_DEST) - return -1; - - dest = ev_link_action_get_dest (action); - if (dest) - return ev_link_dest_get_page (dest); - - return -1; -}