X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=libdocument%2Fev-link-dest.h;h=995a04886416e62b58e3bf5541ac3241b24b2289;hb=212d9a536bc60e711b779feb5e8aa33db654997d;hp=a7ee05951b87fbbf703563f5783666e55bed684d;hpb=a73a364ed185d1d933bd032debd1e37d31a1426b;p=evince.git diff --git a/libdocument/ev-link-dest.h b/libdocument/ev-link-dest.h index a7ee0595..995a0488 100644 --- a/libdocument/ev-link-dest.h +++ b/libdocument/ev-link-dest.h @@ -15,9 +15,13 @@ * * 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 can be included directly." +#endif + #ifndef EV_LINK_DEST_H #define EV_LINK_DEST_H @@ -36,8 +40,6 @@ typedef struct _EvLinkDestPrivate EvLinkDestPrivate; #define EV_IS_LINK_DEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LINK_DEST)) #define EV_LINK_DEST_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LINK_DEST, EvLinkDestClass)) -#define EV_TYPE_LINK_DEST_TYPE (ev_link_dest_type_get_type ()) - typedef enum { EV_LINK_DEST_TYPE_PAGE, EV_LINK_DEST_TYPE_XYZ, @@ -50,7 +52,6 @@ typedef enum { EV_LINK_DEST_TYPE_UNKNOWN } EvLinkDestType; -GType ev_link_dest_type_get_type (void) G_GNUC_CONST; GType ev_link_dest_get_type (void) G_GNUC_CONST; EvLinkDestType ev_link_dest_get_dest_type (EvLinkDest *self);