diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2023-02-02 12:10:56 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2023-02-02 12:50:59 +0100 |
commit | 7ad74ad6c30890d6bfcfbf2c2e92f45bac9e42a3 (patch) | |
tree | 39d66a5ec3bab4e74db98b64eec67bee5f3f0d72 /gtk/gtkapplication-wayland.c | |
parent | bb777507ced2717feeffbf7dd19858a395cedcf6 (diff) | |
download | gtk+-7ad74ad6c30890d6bfcfbf2c2e92f45bac9e42a3.tar.gz |
gdk/wayland: Deprecate GdkDisplay windowing-specific for startup IDs
This is currently just used as a convenience storage of the startup ID
between the GtkApplication and the GtkWindow (after it's ready to notify
on it).
This could be untangled in the GTK layers so there is no involvement
from GDK in keeping the startup ID around, in the mean time just deprecate
these gdk_wayland* API calls.
Diffstat (limited to 'gtk/gtkapplication-wayland.c')
-rw-r--r-- | gtk/gtkapplication-wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkapplication-wayland.c b/gtk/gtkapplication-wayland.c index 510d22656c..5d56f45e75 100644 --- a/gtk/gtkapplication-wayland.c +++ b/gtk/gtkapplication-wayland.c @@ -108,7 +108,9 @@ gtk_application_impl_wayland_before_emit (GtkApplicationImpl *impl, if (!startup_notification_id) g_variant_lookup (platform_data, "desktop-startup-id", "&s", &startup_notification_id); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gdk_wayland_display_set_startup_notification_id (gdk_display_get_default (), startup_notification_id); +G_GNUC_END_IGNORE_DEPRECATIONS } static guint |