[gnome-software] trivial: Export gs_app_list_remove()
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Export gs_app_list_remove()
- Date: Tue, 13 Dec 2016 20:43:26 +0000 (UTC)
commit fccd32844843d6b0e00a88d5af09872687bdb7f5
Author: Richard Hughes <richard hughsie com>
Date: Tue Dec 13 20:08:04 2016 +0000
trivial: Export gs_app_list_remove()
src/gs-app-list-private.h | 2 --
src/gs-app-list.c | 2 +-
src/gs-app-list.h | 2 ++
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-app-list-private.h b/src/gs-app-list-private.h
index de4592e..96e0769 100644
--- a/src/gs-app-list-private.h
+++ b/src/gs-app-list-private.h
@@ -56,8 +56,6 @@ void gs_app_list_sort (GsAppList *list,
void gs_app_list_filter_duplicates (GsAppList *list,
GsAppListFilterFlags flags);
void gs_app_list_randomize (GsAppList *list);
-void gs_app_list_remove (GsAppList *list,
- GsApp *app);
void gs_app_list_remove_all (GsAppList *list);
G_END_DECLS
diff --git a/src/gs-app-list.c b/src/gs-app-list.c
index 0fcf82a..2b087a3 100644
--- a/src/gs-app-list.c
+++ b/src/gs-app-list.c
@@ -152,7 +152,7 @@ gs_app_list_add (GsAppList *list, GsApp *app)
* Removes an application from the list. If the application does not exist the
* request is ignored.
*
- * Since: 3.22
+ * Since: 3.24
**/
void
gs_app_list_remove (GsAppList *list, GsApp *app)
diff --git a/src/gs-app-list.h b/src/gs-app-list.h
index a87b372..41bda57 100644
--- a/src/gs-app-list.h
+++ b/src/gs-app-list.h
@@ -37,6 +37,8 @@ void gs_app_list_add (GsAppList *list,
GsApp *app);
void gs_app_list_add_list (GsAppList *list,
GsAppList *donor);
+void gs_app_list_remove (GsAppList *list,
+ GsApp *app);
GsApp *gs_app_list_index (GsAppList *list,
guint idx);
GsApp *gs_app_list_lookup (GsAppList *list,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]