mirror of
				https://github.com/Ryujinx/GtkSharp.git
				synced 2025-11-04 13:04:53 +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)
 | 
					$(ASSEMBLY): $(build_sources) $(SNK)
 | 
				
			||||||
	@rm -f $(ASSEMBLY).mdb
 | 
						@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:
 | 
					install-data-local:
 | 
				
			||||||
	@if test -n '$(TARGET)'; then							\
 | 
						@if test -n '$(TARGET)'; then							\
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -135,10 +135,12 @@ namespace Cairo {
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#pragma warning disable 612
 | 
				
			||||||
		public IntPtr Handle {
 | 
							public IntPtr Handle {
 | 
				
			||||||
			get { return pattern; }
 | 
								get { return pattern; }
 | 
				
			||||||
			private set { pattern = value; }
 | 
								private set { pattern = value; }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					#pragma warning restore 612
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		[Obsolete]
 | 
							[Obsolete]
 | 
				
			||||||
		public IntPtr Pointer {
 | 
							public IntPtr Pointer {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue