[libwnck/wip/muktupavels/remove-deprecated-things: 6/10] application: remove deprecated API




commit 1c2e67c26636bcccbd73a9d6490efb7192a619cf
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Sep 16 12:50:38 2022 +0300

    application: remove deprecated API
    
    https://gitlab.gnome.org/GNOME/libwnck/-/issues/150

 doc/libwnck-sections.txt |  1 -
 libwnck/application.c    | 18 ------------------
 libwnck/application.h    |  3 ---
 3 files changed, 22 deletions(-)
---
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt
index 937d09f9..9f897e15 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 9ab7f489..d1f4bbc0 100644
--- a/libwnck/application.c
+++ b/libwnck/application.c
@@ -176,24 +176,6 @@ wnck_application_finalize (GObject *object)
   G_OBJECT_CLASS (wnck_application_parent_class)->finalize (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 40fe4c60..37719286 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]