aboutsummaryrefslogtreecommitdiff
path: root/src/application-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-19 17:04:20 -0600
committerTed Gould <ted@gould.cx>2010-01-19 17:04:20 -0600
commit85394de1aa25fea66bbe30e3ceeafc754f2e8ff7 (patch)
tree480f6545993bc2d71710781d9a47303325b1c2d8 /src/application-service.c
parent2f82ed57b751145449506164888281b57819abcc (diff)
downloadlibayatana-appindicator-85394de1aa25fea66bbe30e3ceeafc754f2e8ff7.tar.gz
libayatana-appindicator-85394de1aa25fea66bbe30e3ceeafc754f2e8ff7.tar.bz2
libayatana-appindicator-85394de1aa25fea66bbe30e3ceeafc754f2e8ff7.zip
Building the LRU file.
Diffstat (limited to 'src/application-service.c')
-rw-r--r--src/application-service.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/application-service.c b/src/application-service.c
index 351e9aa..abb86ee 100644
--- a/src/application-service.c
+++ b/src/application-service.c
@@ -25,6 +25,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "notification-item-client.h"
#include "application-service-appstore.h"
#include "application-service-watcher.h"
+#include "application-service-lru-file.h"
#include "dbus-shared.h"
/* The base main loop */
@@ -35,6 +36,8 @@ static ApplicationServiceAppstore * appstore = NULL;
static ApplicationServiceWatcher * watcher = NULL;
/* The service management interface */
static IndicatorService * service = NULL;
+/* The LRU file interface */
+static AppLruFile * lrufile = NULL;
/* Recieves the disonnection signal from the service
object and closes the mainloop. */
@@ -59,6 +62,9 @@ main (int argc, char ** argv)
service = indicator_service_new(INDICATOR_APPLICATION_DBUS_ADDR);
g_signal_connect(G_OBJECT(service), INDICATOR_SERVICE_SIGNAL_SHUTDOWN, G_CALLBACK(service_disconnected), NULL);
+ /* Start up the LRU file reading */
+ lrufile = app_lru_file_new();
+
/* Building our app store */
appstore = APPLICATION_SERVICE_APPSTORE(g_object_new(APPLICATION_SERVICE_APPSTORE_TYPE, NULL));