~unity-team/unity/7.1

« back to all changes in this revision

Viewing changes to src/main.vala

  • Committer: Neil Jagdish Patel
  • Date: 2009-10-15 10:40:35 UTC
  • Revision ID: neil.patel@canonical.com-20091015104035-ijthyaoq3rwqu8r7
[build] Initial commit

added:
  .bzrignore
  AUTHORS
  COPYING
  ChangeLog
  Makefile.am
  NEWS
  README
  autogen.sh
  configure.ac
  src/
  src/Makefile.am
  src/main.vala
  src/quicklauncher/
  src/quicklauncher/Makefile.am
  src/quicklauncher/quicklauncher.vala
  src/unity.vala
  tests/
  tests/Makefile.am
  tests/test-unity.vala

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2009 Canonical Ltd
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License version 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by Neil Jagdish Patel <neil.patel@canonical.com>
 
17
 *
 
18
 */
 
19
 
 
20
public class Main
 
21
{
 
22
  public static int main (string[] args)
 
23
  {
 
24
    Unity.Window window;
 
25
 
 
26
    Gtk.init (ref args);
 
27
 
 
28
    window = new Unity.Window ();
 
29
    stdout.printf ("Hello World!\n");
 
30
 
 
31
    Gtk.main ();
 
32
 
 
33
    return 0;
 
34
  }
 
35
}