Add Gtk.Source to Library.cs

todo - check with maintainers, is this correct.
This commit is contained in:
Drew Holzworth 2020-07-07 09:45:07 +10:00
parent a0080977e9
commit 9b52ca0713
No known key found for this signature in database
GPG key ID: 931DFD9C2A605512
2 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,7 @@ class GLibrary
_libraryDefinitions[Library.GdkPixbuf] = new[] { "libgdk_pixbuf-2.0-0.dll", "libgdk_pixbuf-2.0.so.0", "libgdk_pixbuf-2.0.dylib", "gdk_pixbuf-2.dll" };
_libraryDefinitions[Library.Gtk] = new[] { "libgtk-3-0.dll", "libgtk-3.so.0", "libgtk-3.0.dylib", "gtk-3.dll" };
_libraryDefinitions[Library.PangoCairo] = new[] { "libpangocairo-1.0-0.dll", "libpangocairo-1.0.so.0", "libpangocairo-1.0.0.dylib", "pangocairo-1.dll" };
_libraryDefinitions[Library.Source] = new[] { "libgtksourceview-4-0.dll", "libgtksourceview-4.so.0", "libgtksourceview-4.0.dylib", "gtksourceview-4.dll" };
}
public static IntPtr Load(Library library)

View file

@ -10,5 +10,6 @@ enum Library
PangoCairo,
Gdk,
GdkPixbuf,
Gtk
Gtk,
Source
}