Back to index

indicator-appmenu  12.10.0
test-usage-db-ancient.c
Go to the documentation of this file.
00001 /*
00002 Test function to ensure we auto-clear the old databse
00003 
00004 Copyright 2011 Canonical Ltd.
00005 
00006 Authors:
00007     Ted Gould <ted@canonical.com>
00008 
00009 This program is free software: you can redistribute it and/or modify it 
00010 under the terms of the GNU General Public License version 3, as published 
00011 by the Free Software Foundation.
00012 
00013 This program is distributed in the hope that it will be useful, but 
00014 WITHOUT ANY WARRANTY; without even the implied warranties of 
00015 MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
00016 PURPOSE.  See the GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License along 
00019 with this program.  If not, see <http://www.gnu.org/licenses/>.
00020 */
00021 
00022 #include <glib.h>
00023 #include <glib-object.h>
00024 
00025 #include "hudsettings.h"
00026 #include "load-app-info.h"
00027 #include "usage-tracker.h"
00028 
00029 HudSettings hud_settings = {
00030   .store_usage_data = TRUE
00031 };
00032 
00033 gint
00034 main (gint argc, gchar * argv[])
00035 {
00036        g_type_init();
00037        UsageTracker * tracker = usage_tracker_new();
00038        g_object_unref(tracker);
00039        return 0;
00040 }