summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-06-27 23:33:12 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-06-27 23:55:50 +0100
commit23d2c16a3a36afa329fc3d58b6e84a89ccd351be (patch)
treea92a02b92ad41095fc26ee6831ea0cfb07fa6293 /tests
parentd596c44b53f9f2bf26177db3f304a880d224260d (diff)
gsignal: Improve warning messages if type information cannot be found
It is most likely due to a GIR containing the signal information not being available. As such, make the messages remarks rather than warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/gsignal-connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gsignal-connect.c b/tests/gsignal-connect.c
index ea9e7bb..06e3782 100644
--- a/tests/gsignal-connect.c
+++ b/tests/gsignal-connect.c
@@ -157,7 +157,7 @@
}
/*
- * No signal named ‘invalid-signal’ in GObject class ‘GObject’. To improve static analysis, add a typecast to the GObject parameter of g_signal_connect_data().
+ * No signal named ‘invalid-signal’ in GObject class ‘GObject’. To improve static analysis, add a typecast to the GObject parameter of g_signal_connect_data() to the specific class defining the signal. Ensure a GIR file defining that class is loaded.
* g_signal_connect (some_object, "invalid-signal",
* ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* note: expanded from macro 'g_signal_connect'