]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-render-context.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libdocument / ev-render-context.h
index eb324e880f0b465c8e2999246a788cfacf3017ba..7091c498a683a64673479a4b9cc67e56901fba86 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_RENDER_CONTEXT_H
 #define EV_RENDER_CONTEXT_H
 
@@ -30,7 +34,7 @@ typedef struct _EvRenderContext EvRenderContext;
 typedef struct _EvRenderContextClass EvRenderContextClass;
 
 #define EV_TYPE_RENDER_CONTEXT         (ev_render_context_get_type())
-#define EV_RENDER_CONTEXT(context)     (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_RENDER_CONTEXT, EvRenderContext)
+#define EV_RENDER_CONTEXT(object)      (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_RENDER_CONTEXT, EvRenderContext))
 #define EV_RENDER_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_RENDER_CONTEXT, EvRenderContextClass))
 #define EV_IS_RENDER_CONTEXT(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_RENDER_CONTEXT))