[gnome-software] Make gs_app_widget_refresh public
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Make gs_app_widget_refresh public
- Date: Fri, 15 Nov 2013 03:39:02 +0000 (UTC)
commit 3fffa2259b9d2b3811fc5309cb3309f5f7ca1709
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Nov 13 20:16:48 2013 -0500
Make gs_app_widget_refresh public
The GsFolders approach requires us to refresh app widgets
'from the outside', so make gs_app_widget_refresh() public.
src/gs-app-widget.c | 2 +-
src/gs-app-widget.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-app-widget.c b/src/gs-app-widget.c
index 4fb043e..658d6bb 100644
--- a/src/gs-app-widget.c
+++ b/src/gs-app-widget.c
@@ -108,7 +108,7 @@ out:
/**
* gs_app_widget_refresh:
**/
-static void
+void
gs_app_widget_refresh (GsAppWidget *app_widget)
{
GsAppWidgetPrivate *priv = app_widget->priv;
diff --git a/src/gs-app-widget.h b/src/gs-app-widget.h
index f6bff46..a8d6c96 100644
--- a/src/gs-app-widget.h
+++ b/src/gs-app-widget.h
@@ -55,6 +55,7 @@ struct _GsAppWidgetClass
GType gs_app_widget_get_type (void);
GtkWidget *gs_app_widget_new (void);
+void gs_app_widget_refresh (GsAppWidget *app_widget);
void gs_app_widget_set_colorful (GsAppWidget *app_widget,
gboolean colorful);
void gs_app_widget_set_show_update (GsAppWidget *app_widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]