[libwnck/wip/muktupavels/tasklist: 4/4] tasklist: deprecate get_size_hint_list
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/tasklist: 4/4] tasklist: deprecate get_size_hint_list
- Date: Wed, 5 May 2021 12:50:26 +0000 (UTC)
commit 6f9283b9a5f78675afd561d34120f2d110ef65d6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue May 4 13:31:33 2021 +0300
tasklist: deprecate get_size_hint_list
Use minimum and natural size instead.
libwnck/tasklist.c | 2 ++
libwnck/tasklist.h | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 08f99ca..f14ca62 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -1739,6 +1739,8 @@ wnck_tasklist_get_preferred_height (GtkWidget *widget,
*
* Return value: a list of size hints that can be used to allocate an
* appropriate size for @tasklist.
+ *
+ * Deprecated: 3.42: Use minimum and natural size instead.
*/
const int *
wnck_tasklist_get_size_hint_list (WnckTasklist *tasklist,
diff --git a/libwnck/tasklist.h b/libwnck/tasklist.h
index d2952f8..0659f9d 100644
--- a/libwnck/tasklist.h
+++ b/libwnck/tasklist.h
@@ -88,6 +88,8 @@ typedef enum {
GType wnck_tasklist_get_type (void) G_GNUC_CONST;
GtkWidget *wnck_tasklist_new (void);
+
+G_DEPRECATED
const int *wnck_tasklist_get_size_hint_list (WnckTasklist *tasklist,
int *n_elements);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]