diff options
author | Maximiliano Sandoval R <msandova@gnome.org> | 2022-07-15 20:54:04 +0200 |
---|---|---|
committer | Maximiliano Sandoval R <msandova@gnome.org> | 2022-07-15 20:54:04 +0200 |
commit | 347f4fc7396e757b221bb89a7bdbd3076b0c9916 (patch) | |
tree | 5ec5ed87c873967a38fe9e624577e45f4b5c5a6b /sendto | |
parent | 60b4642163b99a510d96992376c439980e9779a8 (diff) | |
download | gnome-bluetooth-347f4fc7396e757b221bb89a7bdbd3076b0c9916.tar.gz |
sendto: Initialize libadwaita
Adds support for dark mode.
Fixes: https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/issues/114
Diffstat (limited to 'sendto')
-rw-r--r-- | sendto/main.c | 2 | ||||
-rw-r--r-- | sendto/meson.build | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sendto/main.c b/sendto/main.c index 8dc2b122..4040017d 100644 --- a/sendto/main.c +++ b/sendto/main.c @@ -28,6 +28,7 @@ #include <sys/time.h> +#include <adwaita.h> #include <glib/gi18n.h> #include <glib/gstdio.h> #include <gio/gio.h> @@ -751,6 +752,7 @@ int main(int argc, char *argv[]) error = NULL; gtk_init(); + adw_init(); option_context = g_option_context_new(NULL); g_option_context_add_main_entries(option_context, options, GETTEXT_PACKAGE); diff --git a/sendto/meson.build b/sendto/meson.build index 7694b692..ea718dab 100644 --- a/sendto/meson.build +++ b/sendto/meson.build @@ -4,7 +4,7 @@ executable( name, 'main.c', include_directories: top_inc, - dependencies: [libgnome_bluetooth_dep, gtk_dep], + dependencies: [libgnome_bluetooth_dep, gtk_dep, libadwaita_dep], install: true, ) |