]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-image.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libdocument / ev-image.h
index e603010f1f12fb1a8ff128e1d403c6f6a741b75c..8943091d767ac287b09a8a4e922f7baa9fe5c0b9 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_IMAGE_H__
 #define __EV_IMAGE_H__
 
@@ -59,21 +63,6 @@ const gchar *ev_image_save_tmp         (EvImage         *image,
 const gchar *ev_image_get_tmp_uri      (EvImage         *image);
 
 
-/* Image Mapping stuff */
-typedef struct _EvImageMapping EvImageMapping;
-struct _EvImageMapping {
-       EvImage *image;
-       gdouble x1;
-       gdouble y1;
-       gdouble x2;
-       gdouble y2;
-};
-
-void     ev_image_mapping_free (GList   *image_mapping);
-EvImage *ev_image_mapping_find (GList   *image_mapping,
-                               gdouble  x,
-                               gdouble  y);
-
 G_END_DECLS
 
 #endif /* __EV_IMAGE_H__ */