[libadwaita/wip/exalm/warning] examples: Stop using G_APPLICATION_FLAGS_NONE
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/warning] examples: Stop using G_APPLICATION_FLAGS_NONE
- Date: Fri, 5 Aug 2022 09:18:49 +0000 (UTC)
commit 4193702902715fa88c4415deb7702005a05da56c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Aug 5 13:18:13 2022 +0400
examples: Stop using G_APPLICATION_FLAGS_NONE
We can't use G_APPLICATION_DEFAULT_FLAGS because it requires bumping min
glib version, so just use 0 instead.
examples/hello-world/hello.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/examples/hello-world/hello.c b/examples/hello-world/hello.c
index 7a1409e8..56e0819d 100644
--- a/examples/hello-world/hello.c
+++ b/examples/hello-world/hello.c
@@ -18,7 +18,7 @@ main (int argc,
{
g_autoptr (AdwApplication) app = NULL;
- app = adw_application_new ("org.example.Hello", G_APPLICATION_FLAGS_NONE);
+ app = adw_application_new ("org.example.Hello", 0);
g_signal_connect (app, "activate", G_CALLBACK (activate_cb), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]