Fixed using GTK3 instead of GTK4
This commit is contained in:
parent
a7f7a6d388
commit
e638ef0694
|
@ -3,7 +3,7 @@ find_packages(WIN32_FONTS_PACKAGES REQUIRED
|
|||
GLib
|
||||
GModule
|
||||
GObject
|
||||
GTK3
|
||||
GTK4
|
||||
)
|
||||
|
||||
set(RESOURCE_LIST
|
||||
|
|
|
@ -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() { }
|
||||
|
|
|
@ -10,7 +10,7 @@ find_packages(WINDOWS_NOTIFICATION_PACKAGES REQUIRED
|
|||
GLib
|
||||
GModule
|
||||
GObject
|
||||
GTK3
|
||||
GTK4
|
||||
)
|
||||
|
||||
vala_precompile(WINDOWS_NOTIFICATION_VALA_C
|
||||
|
|
Loading…
Reference in a new issue