~ubuntu-branches/debian/sid/sflphone/sid

« back to all changes in this revision

Viewing changes to gnome/tests/check_dbus.c

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-02 18:04:11 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20130602180411-3rcpy8c1zdlo8y0s
Tags: 1.2.2-1
* New upstream release
* changeset_rb68857a4b485b7d43f92714cd5792595ff895f82.diff - fix QTest
* pjproject ./configure --disable-sound --disable-video

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Savoir-Faire Linux Inc.
 
2
 *  Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
3
3
 *  Author: Julien Bonjean <julien.bonjean@savoirfairelinux.com>
4
4
 *
5
5
 *  This program is free software; you can redistribute it and/or modify
14
14
 *
15
15
 *  You should have received a copy of the GNU General Public License
16
16
 *  along with this program; if not, write to the Free Software
17
 
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
17
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
18
18
 *
19
19
 *  If you modify this program, or any covered work, by linking or
20
20
 *  combining it with the OpenSSL project's OpenSSL library (or a
35
35
 
36
36
START_TEST(test_dbus_connect)
37
37
{
 
38
    g_type_init();
38
39
    GError *error = NULL;
39
 
    fail_unless(dbus_connect(&error) == TRUE, "dbus_connect () returns FALSE");
 
40
    GSettings *settings = g_settings_new("org.sflphone.SFLphone");
 
41
    fail_unless(dbus_connect(&error, settings) == TRUE, "dbus_connect () returns FALSE");
 
42
    g_object_unref(settings);
40
43
}
41
44
END_TEST
42
45