[libwnck/wip/muktupavels/remove-deprecated-things: 6/9] window: remove deprecated API




commit 58f455a6f13d861fe1391e97225bb4f66759453b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Sep 16 12:52:23 2022 +0300

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

 doc/libwnck-sections.txt |  1 -
 doc/tmpl/window.sgml     |  9 ---------
 libwnck/window.c         | 17 -----------------
 libwnck/window.h         |  3 ---
 4 files changed, 30 deletions(-)
---
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt
index 9f897e15..83693d85 100644
--- a/doc/libwnck-sections.txt
+++ b/doc/libwnck-sections.txt
@@ -5,7 +5,6 @@
 <FILE>window</FILE>
 <TITLE>WnckWindow</TITLE>
 WnckWindow
-wnck_window_get
 wnck_window_get_screen
 wnck_window_has_name
 wnck_window_get_name
diff --git a/doc/tmpl/window.sgml b/doc/tmpl/window.sgml
index 370f439f..86d03178 100644
--- a/doc/tmpl/window.sgml
+++ b/doc/tmpl/window.sgml
@@ -93,15 +93,6 @@ WnckWindow
 
 @wnckwindow: the object which received the signal.
 
-<!-- ##### FUNCTION wnck_window_get ##### -->
-<para>
-
-</para>
-
-@xwindow: 
-@Returns: 
-
-
 <!-- ##### FUNCTION wnck_window_get_screen ##### -->
 <para>
 
diff --git a/libwnck/window.c b/libwnck/window.c
index 35bb37c1..c2814ec9 100644
--- a/libwnck/window.c
+++ b/libwnck/window.c
@@ -434,23 +434,6 @@ wnck_window_finalize (GObject *object)
   G_OBJECT_CLASS (wnck_window_parent_class)->finalize (object);
 }
 
-/**
- * wnck_window_get:
- * @xwindow: an X window ID.
- *
- * Gets a preexisting #WnckWindow for the X window @xwindow. This will not
- * create a #WnckWindow if none exists. The function is robust against bogus
- * window IDs.
- *
- * Return value: (transfer none): the #WnckWindow for @xwindow. The returned
- * #WnckWindow is owned by libwnck and must not be referenced or unreferenced.
- **/
-WnckWindow*
-wnck_window_get (gulong xwindow)
-{
-  return wnck_handle_get_window (_wnck_get_handle (), xwindow);
-}
-
 /**
  * wnck_window_get_screen:
  * @window: a #WnckWindow.
diff --git a/libwnck/window.h b/libwnck/window.h
index 47c65433..c71d3f14 100644
--- a/libwnck/window.h
+++ b/libwnck/window.h
@@ -288,9 +288,6 @@ struct _WnckWindowClass
 
 GType wnck_window_get_type (void) G_GNUC_CONST;
 
-G_DEPRECATED_FOR(wnck_handle_get_window)
-WnckWindow* wnck_window_get (gulong xwindow);
-
 WnckScreen* wnck_window_get_screen    (WnckWindow *window);
 
 gboolean    wnck_window_has_name      (WnckWindow *window);


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