[libwnck/wip/muktupavels/remove-deprecated-things: 3/9] pager: remove deprecated API




commit 4a7382b3d16f61d6a4131c3b6dceff70ba642777
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Sep 16 12:45:03 2022 +0300

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

 doc/libwnck-sections.txt |  1 -
 doc/tmpl/pager.sgml      |  9 ---------
 libwnck/pager.c          | 20 --------------------
 libwnck/pager.h          |  3 ---
 4 files changed, 33 deletions(-)
---
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt
index f8ebb123..b3f52e41 100644
--- a/doc/libwnck-sections.txt
+++ b/doc/libwnck-sections.txt
@@ -231,7 +231,6 @@ WnckScreenClass
 <FILE>pager</FILE>
 <TITLE>WnckPager</TITLE>
 WnckPager
-wnck_pager_new
 wnck_pager_set_orientation
 wnck_pager_set_n_rows
 WnckPagerDisplayMode
diff --git a/doc/tmpl/pager.sgml b/doc/tmpl/pager.sgml
index 8d100a4d..ff2d4a90 100644
--- a/doc/tmpl/pager.sgml
+++ b/doc/tmpl/pager.sgml
@@ -26,15 +26,6 @@ WnckPager
 </para>
 
 
-<!-- ##### FUNCTION wnck_pager_new ##### -->
-<para>
-
-</para>
-
-@void: 
-@Returns: 
-
-
 <!-- ##### FUNCTION wnck_pager_set_orientation ##### -->
 <para>
 
diff --git a/libwnck/pager.c b/libwnck/pager.c
index 4df766c6..c70f9bf8 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -2264,26 +2264,6 @@ wnck_pager_query_tooltip (GtkWidget  *widget,
   return TRUE;
 }
 
-/**
- * wnck_pager_new:
- *
- * Creates a new #WnckPager. The #WnckPager will show the #WnckWorkspace of the
- * #WnckScreen it is on.
- *
- * Return value: a newly created #WnckPager.
- */
-GtkWidget*
-wnck_pager_new (void)
-{
-  WnckPager *pager;
-
-  pager = g_object_new (WNCK_TYPE_PAGER,
-                        "handle", _wnck_get_handle (),
-                        NULL);
-
-  return GTK_WIDGET (pager);
-}
-
 /**
  * wnck_pager_new_with_handle:
  * @handle: a #WnckHandle
diff --git a/libwnck/pager.h b/libwnck/pager.h
index 084aeb46..4407d2b7 100644
--- a/libwnck/pager.h
+++ b/libwnck/pager.h
@@ -102,9 +102,6 @@ typedef enum {
 
 GType      wnck_pager_get_type           (void) G_GNUC_CONST;
 
-G_DEPRECATED_FOR(wnck_pager_new_with_handle)
-GtkWidget* wnck_pager_new                (void);
-
 GtkWidget* wnck_pager_new_with_handle    (WnckHandle           *handle);
 
 gboolean   wnck_pager_set_orientation    (WnckPager            *pager,


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