Commit 79f9a4d8 authored by Tristan Matthews's avatar Tristan Matthews

gnome: fix dbus test

parent afb159dc
......@@ -49,7 +49,6 @@
/data/gschemas.compiled
/depcomp
/doc/Makefile.in
/gnome-doc-utils.make
/install-sh
/intltool-extract.in
/intltool-merge.in
......
......@@ -30,6 +30,7 @@
#include <stdlib.h>
#include "../src/dbus/dbus.h"
#include "../src/sflphone_client.h"
#define XML_OUTPUT "gnome-check-dbus.xml"
......@@ -37,9 +38,9 @@ START_TEST(test_dbus_connect)
{
g_type_init();
GError *error = NULL;
GSettings *settings = g_settings_new("org.sflphone.SFLphone");
fail_unless(dbus_connect(&error, settings) == TRUE, "dbus_connect () returns FALSE");
g_object_unref(settings);
SFLPhoneClient *client = sflphone_client_new();
fail_unless(dbus_connect(&error, client) == TRUE, "dbus_connect () returns FALSE");
g_object_unref(client);
}
END_TEST
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment