]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-link.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libdocument / ev-link.h
index 136047c7a5ef333ab144e3082a192b99bdcc89c4..4d498b2e2e8a7a56f2aa6ec4d55bcd8df825e0b7 100644 (file)
  *
  * 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.
  */
 
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
 #ifndef EV_LINK_H
 #define EV_LINK_H
 
@@ -44,26 +48,7 @@ EvLink            *ev_link_new        (const gchar  *title,
 
 const gchar  *ev_link_get_title  (EvLink       *self);
 EvLinkAction *ev_link_get_action (EvLink       *self);
-gint         ev_link_get_page   (EvLink       *link);
-
-/* Link Mapping stuff */
-typedef struct _EvLinkMapping    EvLinkMapping;
-struct _EvLinkMapping
-{
-       EvLink *link;
-       gdouble x1;
-       gdouble y1;
-       gdouble x2;
-       gdouble y2;
-};
 
-void    ev_link_mapping_free     (GList       *link_mapping);
-EvLink *ev_link_mapping_find     (GList       *link_mapping,
-                                 gdouble      x,
-                                 gdouble      y);
-void    ev_link_mapping_get_area (GList       *link_mapping,
-                                 EvLink      *link,
-                                 EvRectangle *area);
 G_END_DECLS
 
 #endif /* !EV_LINK_H */