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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-04-02 21:39:33 UTC
  • mfrom: (1.5.1) (15.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20140402213933-r0w3gna0pv7q7085
Tags: 3.12.0-1
* New upstream release.
* Revert changes done in 3.10.1-3
  - i.e. lower gnome-desktop build-dependency again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
main (int argc, char **argv)
27
27
{
28
28
  CheeseCameraDeviceMonitor *monitor;
 
29
  GMainLoop *mainloop;
29
30
 
30
31
  if (!cheese_init (&argc, &argv))
31
32
    return EXIT_FAILURE;
37
38
                    G_CALLBACK (removed_cb), NULL);
38
39
  cheese_camera_device_monitor_coldplug (monitor);
39
40
 
40
 
  g_main_loop_run (g_main_loop_new (NULL, FALSE));
 
41
  mainloop = g_main_loop_new (NULL, FALSE);
 
42
  g_main_loop_run (mainloop);
 
43
  g_main_loop_unref (mainloop);
41
44
 
42
45
  return EXIT_SUCCESS;
43
46
}