]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-document-fonts.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libdocument / ev-document-fonts.h
index c9f58f532650ed67f46a73d001c8fcc551226a45..8cabe35a37e42e1b50bf677ee44f32937af7048e 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_DOCUMENT_FONTS_H
 #define EV_DOCUMENT_FONTS_H
 
@@ -36,13 +40,13 @@ G_BEGIN_DECLS
 
 #define EV_TYPE_DOCUMENT_FONTS           (ev_document_fonts_get_type ())
 #define EV_DOCUMENT_FONTS(o)             (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FONTS, EvDocumentFonts))
-#define EV_DOCUMENT_FONTS_IFACE(k)       (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsIface))
+#define EV_DOCUMENT_FONTS_IFACE(k)       (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))
 #define EV_IS_DOCUMENT_FONTS(o)                  (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FONTS))
 #define EV_IS_DOCUMENT_FONTS_IFACE(k)    (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FONTS))
-#define EV_DOCUMENT_FONTS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsIface))
+#define EV_DOCUMENT_FONTS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))
 
-typedef struct _EvDocumentFonts             EvDocumentFonts;
-typedef struct _EvDocumentFontsIface EvDocumentFontsIface;
+typedef struct _EvDocumentFonts                 EvDocumentFonts;
+typedef struct _EvDocumentFontsInterface EvDocumentFontsInterface;
 
 enum {
        EV_DOCUMENT_FONTS_COLUMN_NAME,
@@ -50,7 +54,7 @@ enum {
        EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS
 };
 
-struct _EvDocumentFontsIface
+struct _EvDocumentFontsInterface
 {
        GTypeInterface base_iface;