[libwnck/wip/muktupavels/remove-deprecated-things: 4/10] pager: remove deprecated API
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/remove-deprecated-things: 4/10] pager: remove deprecated API
- Date: Fri, 16 Sep 2022 14:23:55 +0000 (UTC)
commit 849599022a5324ae4f034e188d09218f766585b7
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 -
libwnck/pager.c | 20 --------------------
libwnck/pager.h | 3 ---
3 files changed, 24 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/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]