~cyphermox/ethos/debian

« back to all changes in this revision

Viewing changes to debian/patches/tests-new-api.patch

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-07-27 00:59:05 UTC
  • Revision ID: mathieu-tl@ubuntu.com-20110727005905-87k1eqtrwo8ia8qo
debian/patches/tests-new-api.patch: take into account the new third param
that needs to be passed to g_test_init().

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Mathieu Trudel-Lapierre <mathieu.tl@gmail.com>
 
2
Subject: Account for new API for g_test_init()
 
3
Forwarded: yes
 
4
 
 
5
Index: ethos-0.2.2/tests/plugin-info.c
 
6
===================================================================
 
7
--- ethos-0.2.2.orig/tests/plugin-info.c        2011-07-26 20:56:18.577735775 -0400
 
8
+++ ethos-0.2.2/tests/plugin-info.c     2011-07-26 20:56:28.507875571 -0400
 
9
@@ -59,7 +59,7 @@
 
10
 main (int argc, char *argv[])
 
11
 {
 
12
        g_type_init ();
 
13
-       g_test_init (&argc, &argv);
 
14
+       g_test_init (&argc, &argv, NULL);
 
15
 
 
16
        g_test_add_func ("/plugin-info/new", test1);
 
17
        g_test_add_func ("/plugin-info/load_from_data", test2);