mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 23:05:29 +00:00
cairo: Don't disable the deprecation warnings during compilation
This makes the "#pragma warning disable 612" in Pattern.cs that were removed previously actually useful, so we add it back.
This commit is contained in:
parent
07dc9f6176
commit
01520a9859
|
@ -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 \
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue