summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/default.nix16
-rw-r--r--lib/astal/gtk4/src/application.vala2
2 files changed, 17 insertions, 1 deletions
diff --git a/docs/default.nix b/docs/default.nix
index 1370fc6..ff7e8c9 100644
--- a/docs/default.nix
+++ b/docs/default.nix
@@ -58,6 +58,11 @@
description = "The GTK toolkit";
docs_url = "https://docs.gtk.org/gtk3/";
};
+ "Gtk-4.0" = {
+ name = "Gtk";
+ description = "The GTK toolkit";
+ docs_url = "https://docs.gtk.org/gtk4/";
+ };
"AstalIO-0.1" = {
name = "AstalIO";
description = "Astal Core library";
@@ -101,7 +106,9 @@ in
json-glib
gobject-introspection
gtk3
+ gtk4
gtk-layer-shell
+ gtk4-layer-shell
gdk-pixbuf
libdbusmenu-gtk3
wireplumber
@@ -129,6 +136,15 @@ in
dependencies = {inherit (dependency) "AstalIO-0.1" "Gtk-3.0";};
}}
${genLib {
+ flakepkg = "astal4";
+ gir = "";
+ api-ver = "4.0";
+ browse = "astal/gtk4";
+ description = "Astal GTK4 widget library";
+ version = ../lib/astal/gtk4/version;
+ dependencies = {inherit (dependency) "AstalIO-0.1" "Gtk-4.0";};
+ }}
+ ${genLib {
flakepkg = "apps";
gir = "Apps";
description = "Application query library";
diff --git a/lib/astal/gtk4/src/application.vala b/lib/astal/gtk4/src/application.vala
index a6d3688..fadf705 100644
--- a/lib/astal/gtk4/src/application.vala
+++ b/lib/astal/gtk4/src/application.vala
@@ -162,7 +162,7 @@ public class Astal.Application : Gtk.Application, AstalIO.Application {
}
/**
- * Shortcut for [[email protected]_search_path].
+ * Shortcut for [[email protected]_search_path].
*/
[DBus (visible=false)]
public void add_icons(string? path) {