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

« back to all changes in this revision

Viewing changes to tests/test-libcheese-gtk.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:
41
41
    g_assert (chooser != NULL);
42
42
 
43
43
    /* Check that all the child widgets were successfully instantiated. */
44
 
    g_assert (gtk_test_find_widget (chooser, "Take a Photo", GTK_TYPE_BUTTON)
45
 
        != NULL);
46
44
    select_button = gtk_test_find_widget (chooser, "Select", GTK_TYPE_BUTTON);
47
45
    g_assert (select_button != NULL);
48
46
    g_assert (GTK_IS_BUTTON (select_button));
98
96
 
99
97
int main (int argc, gchar *argv[])
100
98
{
101
 
    gdk_threads_init ();
102
99
    gtk_test_init (&argc, &argv, NULL);
103
100
    if (!cheese_gtk_init (&argc, &argv))
104
101
        return EXIT_FAILURE;