~ctf/unity-settings-daemon/bug1389099_mic_volume_icons

« back to all changes in this revision

Viewing changes to plugins/housekeeping/gsd-disk-space-test.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-02-07 11:44:36 UTC
  • Revision ID: package-import@ubuntu.com-20140207114436-7t5u3yvwc4ul7w3e
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
 
2
 * vim: set et sw=8 ts=8:
 
3
 *
 
4
 * Copyright (c) 2008, Novell, Inc.
 
5
 *
 
6
 * Authors: Vincent Untz <vuntz@gnome.org>
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License as published by
 
10
 * the Free Software Foundation; either version 2 of the License, or
 
11
 * (at your option) any later version.
 
12
 *
 
13
 * This program is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 * GNU General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU General Public License
 
19
 * along with this program; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
21
 *
 
22
 */
 
23
 
 
24
#include "config.h"
 
25
#include <gtk/gtk.h>
 
26
#include <libnotify/notify.h>
 
27
#include "gsd-disk-space.h"
 
28
 
 
29
int
 
30
main (int    argc,
 
31
      char **argv)
 
32
{
 
33
        GMainLoop *loop;
 
34
 
 
35
        gtk_init (&argc, &argv);
 
36
        notify_init ("gsd-disk-space-test");
 
37
 
 
38
        loop = g_main_loop_new (NULL, FALSE);
 
39
 
 
40
        gsd_ldsm_setup (TRUE);
 
41
 
 
42
        g_main_loop_run (loop);
 
43
 
 
44
        gsd_ldsm_clean ();
 
45
        g_main_loop_unref (loop);
 
46
 
 
47
        return 0;
 
48
}
 
49