diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-09-16 12:50:38 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-09-16 14:23:50 +0000 |
commit | 1c2e67c26636bcccbd73a9d6490efb7192a619cf (patch) | |
tree | 64b16d1a659ba1c1202a17357c4664c8fd8faad5 | |
parent | fe041b4e6a45fe514938196aec3a17211f0ee3e2 (diff) | |
download | libwnck-1c2e67c26636bcccbd73a9d6490efb7192a619cf.tar.gz |
application: remove deprecated API
https://gitlab.gnome.org/GNOME/libwnck/-/issues/150
-rw-r--r-- | doc/libwnck-sections.txt | 1 | ||||
-rw-r--r-- | libwnck/application.c | 18 | ||||
-rw-r--r-- | libwnck/application.h | 3 |
3 files changed, 0 insertions, 22 deletions
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt index 937d09f..9f897e1 100644 --- a/doc/libwnck-sections.txt +++ b/doc/libwnck-sections.txt @@ -126,7 +126,6 @@ WnckClassGroupClass <FILE>application</FILE> <TITLE>WnckApplication</TITLE> WnckApplication -wnck_application_get wnck_application_get_xid wnck_application_get_name wnck_application_get_icon_name diff --git a/libwnck/application.c b/libwnck/application.c index 9ab7f48..d1f4bbc 100644 --- a/libwnck/application.c +++ b/libwnck/application.c @@ -177,24 +177,6 @@ wnck_application_finalize (GObject *object) } /** - * wnck_application_get: - * @xwindow: the X window ID of a group leader. - * - * Gets the #WnckApplication corresponding to the group leader with @xwindow - * as X window ID. - * - * Return value: (transfer none): the #WnckApplication corresponding to - * @xwindow, or %NULL if there no such #WnckApplication could be found. The - * returned #WnckApplication is owned by libwnck and must not be referenced or - * unreferenced. - */ -WnckApplication* -wnck_application_get (gulong xwindow) -{ - return wnck_handle_get_application (_wnck_get_handle (), xwindow); -} - -/** * wnck_application_get_xid: * @app: a #WnckApplication. * diff --git a/libwnck/application.h b/libwnck/application.h index 40fe4c6..3771928 100644 --- a/libwnck/application.h +++ b/libwnck/application.h @@ -74,9 +74,6 @@ struct _WnckApplicationClass GType wnck_application_get_type (void) G_GNUC_CONST; -G_DEPRECATED_FOR(wnck_handle_get_application) -WnckApplication* wnck_application_get (gulong xwindow); - gulong wnck_application_get_xid (WnckApplication *app); GList* wnck_application_get_windows (WnckApplication *app); |