glibmm r658 - in trunk: . glib/glibmm
- From: jjongsma svn gnome org
- To: svn-commits-list gnome org
- Subject: glibmm r658 - in trunk: . glib/glibmm
- Date: Thu, 24 Apr 2008 16:53:39 +0100 (BST)
Author: jjongsma
Date: Thu Apr 24 15:53:38 2008
New Revision: 658
URL: http://svn.gnome.org/viewvc/glibmm?rev=658&view=rev
Log:
* glib/glibmm/wrap.cc: Improve the error message when failing to wrap a
particular type of object to give a hint about initializing the library
since we get so many questions about this (bug #529648)
Modified:
trunk/ChangeLog
trunk/glib/glibmm/wrap.cc
Modified: trunk/glib/glibmm/wrap.cc
==============================================================================
--- trunk/glib/glibmm/wrap.cc (original)
+++ trunk/glib/glibmm/wrap.cc Thu Apr 24 15:53:38 2008
@@ -187,7 +187,7 @@
if(!pCppObject)
{
- g_warning("failed to wrap type of '%s'", G_OBJECT_TYPE_NAME(object));
+ g_warning("Failed to wrap object of type '%s'. Hint: this error is commonly caused by failing to call a library init() function.", G_OBJECT_TYPE_NAME(object));
return 0;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]