Fixed using GTK3 instead of GTK4

This commit is contained in:
LAGonauta 2022-08-25 09:29:47 -03:00
parent a7f7a6d388
commit e638ef0694
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ find_packages(WIN32_FONTS_PACKAGES REQUIRED
GLib
GModule
GObject
GTK3
GTK4
)
set(RESOURCE_LIST

View file

@ -7,7 +7,7 @@ public class Plugin : RootInterface, Object {
public void registered(Dino.Application app) {
CssProvider larger_fonts = new CssProvider();
larger_fonts.load_from_resource("/im/dino/Dino/win32-fonts/larger.css");
StyleContext.add_provider_for_screen(Gdk.Screen.get_default(), larger_fonts, STYLE_PROVIDER_PRIORITY_APPLICATION);
StyleContext.add_provider_for_display(Gdk.Display.get_default(), larger_fonts, STYLE_PROVIDER_PRIORITY_APPLICATION);
}
public void shutdown() { }

View file

@ -10,7 +10,7 @@ find_packages(WINDOWS_NOTIFICATION_PACKAGES REQUIRED
GLib
GModule
GObject
GTK3
GTK4
)
vala_precompile(WINDOWS_NOTIFICATION_VALA_C