diff --git a/cairo/Makefile.am b/cairo/Makefile.am index bca514d73..82eb2314c 100644 --- a/cairo/Makefile.am +++ b/cairo/Makefile.am @@ -70,7 +70,7 @@ build_sources = $(addprefix $(srcdir)/, $(sources)) $(builddir)/AssemblyInfo.cs $(ASSEMBLY): $(build_sources) $(SNK) @rm -f $(ASSEMBLY).mdb - $(CSC) $(CSFLAGS) -keyfile:$(SNK) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) + $(CSC) $(CSFLAGS) -keyfile:$(SNK) -out:$(ASSEMBLY) -target:library $(references) $(build_sources) install-data-local: @if test -n '$(TARGET)'; then \ diff --git a/cairo/Pattern.cs b/cairo/Pattern.cs index a312ac22e..bc0a962a2 100644 --- a/cairo/Pattern.cs +++ b/cairo/Pattern.cs @@ -135,10 +135,12 @@ namespace Cairo { } } +#pragma warning disable 612 public IntPtr Handle { get { return pattern; } private set { pattern = value; } } +#pragma warning restore 612 [Obsolete] public IntPtr Pointer {