Commit 3ed10bcf authored by Martin Finkel's avatar Martin Finkel

GTK: TreatWarningsAsErrors is now enabled

parent a1d749ff
......@@ -19,7 +19,8 @@ LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.
<Authors>VideoLAN</Authors>
<Owners>VideoLAN</Owners>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
<PackageLicenseExpression>LGPL-2.1-or-later</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
......
......@@ -44,6 +44,9 @@ namespace LibVLCSharp.GTK
private MediaPlayer _mediaPlayer;
/// <summary>
/// GTK VideoView constructor
/// </summary>
public VideoView()
{
Color black = Color.Zero;
......@@ -53,6 +56,9 @@ namespace LibVLCSharp.GTK
Realized += (s, e) => Attach();
}
/// <summary>
/// The MediaPlayer property for that GTK VideoView
/// </summary>
public MediaPlayer MediaPlayer
{
get
......@@ -122,6 +128,9 @@ namespace LibVLCSharp.GTK
}
}
/// <summary>
/// Detaches the MediaPlayer before disposing
/// </summary>
public override void Dispose()
{
Detach();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment