From 9b52ca07131c005464fe30295b7354982c409a41 Mon Sep 17 00:00:00 2001 From: Drew Holzworth Date: Tue, 7 Jul 2020 09:45:07 +1000 Subject: [PATCH] Add Gtk.Source to Library.cs todo - check with maintainers, is this correct. --- Source/Libs/Shared/GLibrary.cs | 1 + Source/Libs/Shared/Library.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Libs/Shared/GLibrary.cs b/Source/Libs/Shared/GLibrary.cs index 788ffa08a..38020ce26 100644 --- a/Source/Libs/Shared/GLibrary.cs +++ b/Source/Libs/Shared/GLibrary.cs @@ -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) diff --git a/Source/Libs/Shared/Library.cs b/Source/Libs/Shared/Library.cs index a5da66c57..0e2ad9410 100644 --- a/Source/Libs/Shared/Library.cs +++ b/Source/Libs/Shared/Library.cs @@ -10,5 +10,6 @@ enum Library PangoCairo, Gdk, GdkPixbuf, - Gtk + Gtk, + Source } \ No newline at end of file