~ubuntu-branches/debian/jessie/cheese/jessie

« back to all changes in this revision

Viewing changes to src/cheese-main.vala

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-02-07 00:39:22 UTC
  • mto: (15.1.2 experimental) (1.6.1)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20120207003922-gr3zub1aeli4nomr
Tags: upstream-3.3.5
ImportĀ upstreamĀ versionĀ 3.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
      main_window = new Cheese.MainWindow ();
64
64
 
 
65
      Environment.set_variable ("PULSE_PROP_media.role", "production", true);
 
66
 
65
67
      Environment.set_application_name (_("Cheese"));
66
68
      Window.set_default_icon_name ("cheese");
67
69
 
170
172
    Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
171
173
    Intl.textdomain (Config.GETTEXT_PACKAGE);
172
174
 
173
 
    if (GtkClutter.init (ref args) != InitError.SUCCESS)
174
 
      return 1;
 
175
    if (!Cheese.gtk_init (ref args))
 
176
      return Posix.EXIT_FAILURE;
175
177
 
176
178
    Cheese.Main app;
177
179
    app = new Cheese.Main ("org.gnome.Cheese", ApplicationFlags.FLAGS_NONE);