diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-09-16 12:45:03 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-09-16 14:23:50 +0000 |
commit | 849599022a5324ae4f034e188d09218f766585b7 (patch) | |
tree | af8a44376209aca45e6e594bd911153afd771736 | |
parent | bc557f656b24322b3b072d4ac9b36156a1971f1a (diff) | |
download | libwnck-849599022a5324ae4f034e188d09218f766585b7.tar.gz |
pager: remove deprecated API
https://gitlab.gnome.org/GNOME/libwnck/-/issues/150
-rw-r--r-- | doc/libwnck-sections.txt | 1 | ||||
-rw-r--r-- | libwnck/pager.c | 20 | ||||
-rw-r--r-- | libwnck/pager.h | 3 |
3 files changed, 0 insertions, 24 deletions
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt index f8ebb12..b3f52e4 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/libwnck/pager.c b/libwnck/pager.c index 4df766c..c70f9bf 100644 --- a/libwnck/pager.c +++ b/libwnck/pager.c @@ -2265,26 +2265,6 @@ wnck_pager_query_tooltip (GtkWidget *widget, } /** - * 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 084aeb4..4407d2b 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, |