aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-11 19:59:38 -0500
committerTed Gould <ted@gould.cx>2010-08-11 19:59:38 -0500
commitefd7be1cf7c80abc13c6d3bb3bc99cef18b8db7b (patch)
tree335f544840d624c9f86032897d16a8c7391f047f
parentd7c7a2ae1656af559bfbdb2716fe381d313b5a53 (diff)
downloadayatana-indicator-application-efd7be1cf7c80abc13c6d3bb3bc99cef18b8db7b.tar.gz
ayatana-indicator-application-efd7be1cf7c80abc13c6d3bb3bc99cef18b8db7b.tar.bz2
ayatana-indicator-application-efd7be1cf7c80abc13c6d3bb3bc99cef18b8db7b.zip
Adding a count for the number of approvers that have approved the application.
-rw-r--r--src/application-service-appstore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 55906ff..83b64f3 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -85,6 +85,7 @@ struct _Application {
gchar * label;
gchar * guide;
gboolean currently_free;
+ gint approved_by;
};
#define APPLICATION_SERVICE_APPSTORE_GET_PRIVATE(o) \
@@ -734,6 +735,7 @@ application_service_appstore_application_add (ApplicationServiceAppstore * appst
app->label = NULL;
app->guide = NULL;
app->currently_free = FALSE;
+ app->approved_by = 0;
/* Get the DBus proxy for the NotificationItem interface */
GError * error = NULL;