[libwnck/wip/muktupavels/tasklist: 5/5] 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: 5/5] tasklist: deprecate get_size_hint_list
- Date: Tue, 4 May 2021 10:33:00 +0000 (UTC)
commit 87298d60bd81dd9bfdff847c96b15960784ca2ae
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 be6380a..c52cc96 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]