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

« back to all changes in this revision

Viewing changes to tests/cheese-test-widget.c

  • 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:
4
4
#include <glib/gi18n.h>
5
5
#include <gtk/gtk.h>
6
6
#include <gst/gst.h>
 
7
#include "cheese-gtk.h"
7
8
#include "cheese-widget.h"
8
9
 
9
10
static gboolean
30
31
  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
31
32
  textdomain (GETTEXT_PACKAGE);
32
33
 
33
 
  if (gtk_clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
34
 
    return 1;
 
34
  if (!cheese_gtk_init (&argc, &argv))
 
35
    return EXIT_FAILURE;
35
36
 
36
37
  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
37
38
  gtk_window_set_default_size (GTK_WINDOW (window), 400, 300);
46
47
 
47
48
  gtk_main ();
48
49
 
49
 
  return 0;
 
50
  return EXIT_SUCCESS;
50
51
}