X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=libdocument%2Fev-document-transition.h;h=f2979033c34af9728d10281773e75de58cbb5333;hb=223cc03e0275c77c4482ed0495b3bd15993a3ab8;hp=9171acf5637bff2522c48da5bca844278a1a0e8f;hpb=f792ebcef8eab6e0b8fc5ff185851d038afbab56;p=evince.git diff --git a/libdocument/ev-document-transition.h b/libdocument/ev-document-transition.h index 9171acf5..f2979033 100644 --- a/libdocument/ev-document-transition.h +++ b/libdocument/ev-document-transition.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_DOCUMENT_TRANSITION_H #define EV_DOCUMENT_TRANSITION_H @@ -30,15 +34,15 @@ G_BEGIN_DECLS #define EV_TYPE_DOCUMENT_TRANSITION (ev_document_transition_get_type ()) #define EV_DOCUMENT_TRANSITION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransition)) -#define EV_DOCUMENT_TRANSITION_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionIface)) +#define EV_DOCUMENT_TRANSITION_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionInterface)) #define EV_IS_DOCUMENT_TRANSITION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_TRANSITION)) #define EV_IS_DOCUMENT_TRANSITION_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_TRANSITION)) -#define EV_DOCUMENT_TRANSITION_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionIface)) +#define EV_DOCUMENT_TRANSITION_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_TRANSITION, EvDocumentTransitionInterface)) -typedef struct _EvDocumentTransition EvDocumentTransition; -typedef struct _EvDocumentTransitionIface EvDocumentTransitionIface; +typedef struct _EvDocumentTransition EvDocumentTransition; +typedef struct _EvDocumentTransitionInterface EvDocumentTransitionInterface; -struct _EvDocumentTransitionIface +struct _EvDocumentTransitionInterface { GTypeInterface base_iface;