From: pjrm Date: Sat, 5 Jul 2008 12:03:28 +0000 (+0000) Subject: select-context.h: Supply missing #includes/declarations so that we don't depend on... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f24d189d84fb6cff10041ad5d104205a596c84c1;p=inkscape.git select-context.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion. (Detected by check-header-compile.) (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.) --- diff --git a/src/select-context.h b/src/select-context.h index b7e5748a0..3f3f8bfb6 100644 --- a/src/select-context.h +++ b/src/select-context.h @@ -13,6 +13,7 @@ */ #include "event-context.h" +#include #define SP_TYPE_SELECT_CONTEXT (sp_select_context_get_type ()) #define SP_SELECT_CONTEXT(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_SELECT_CONTEXT, SPSelectContext)) @@ -20,6 +21,7 @@ #define SP_IS_SELECT_CONTEXT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_SELECT_CONTEXT)) #define SP_IS_SELECT_CONTEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), SP_TYPE_SELECT_CONTEXT)) +struct SPCanvasItem; class SPSelectContext; class SPSelectContextClass;