[libwnck/wip/muktupavels/remove-deprecated-things: 9/14] selector: remove deprecated API
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/remove-deprecated-things: 9/14] selector: remove deprecated API
- Date: Fri, 16 Sep 2022 12:06:08 +0000 (UTC)
commit 09824ba8140a6b6b37e712b72cc0b29dfb4d2637
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Sep 16 12:48:01 2022 +0300
selector: remove deprecated API
https://gitlab.gnome.org/GNOME/libwnck/-/issues/150
doc/libwnck-sections.txt | 1 -
libwnck/selector.c | 22 ----------------------
libwnck/selector.h | 3 ---
3 files changed, 26 deletions(-)
---
diff --git a/doc/libwnck-sections.txt b/doc/libwnck-sections.txt
index b3f52e41..937d09f9 100644
--- a/doc/libwnck-sections.txt
+++ b/doc/libwnck-sections.txt
@@ -256,7 +256,6 @@ WnckPagerClass
<FILE>selector</FILE>
<TITLE>WnckSelector</TITLE>
WnckSelector
-wnck_selector_new
<SUBSECTION Private>
WnckSelectorPrivate
wnck_selector_get_type
diff --git a/libwnck/selector.c b/libwnck/selector.c
index 4cf61896..4b12e216 100644
--- a/libwnck/selector.c
+++ b/libwnck/selector.c
@@ -1340,28 +1340,6 @@ wnck_selector_unrealize (GtkWidget *widget)
GTK_WIDGET_CLASS (wnck_selector_parent_class)->unrealize (widget);
}
-/**
- * wnck_selector_new:
- *
- * Creates a new #WnckSelector. The #WnckSelector will list #WnckWindow of the
- * #WnckScreen it is on.
- *
- * Return value: a newly created #WnckSelector.
- *
- * Since: 2.10
- */
-GtkWidget *
-wnck_selector_new (void)
-{
- WnckSelector *selector;
-
- selector = g_object_new (WNCK_TYPE_SELECTOR,
- "handle", _wnck_get_handle (),
- NULL);
-
- return GTK_WIDGET (selector);
-}
-
/**
* wnck_selector_new_with_handle:
* @handle: a #WnckHandle
diff --git a/libwnck/selector.h b/libwnck/selector.h
index 800f7116..1148645d 100644
--- a/libwnck/selector.h
+++ b/libwnck/selector.h
@@ -63,9 +63,6 @@ struct _WnckSelectorClass
void (* pad4) (void);
};
-G_DEPRECATED_FOR(wnck_selector_new_with_handle)
-GtkWidget *wnck_selector_new (void);
-
GtkWidget *wnck_selector_new_with_handle (WnckHandle *handle);
GType wnck_selector_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]