gobject-introspection r1023 - trunk/girepository
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r1023 - trunk/girepository
- Date: Mon, 12 Jan 2009 21:31:45 +0000 (UTC)
Author: walters
Date: Mon Jan 12 21:31:45 2009
New Revision: 1023
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1023&view=rev
Log:
Bug 567212: Exit after dumping
The intended use of g_irepository_get_option_group is that your
application more transparently supports --introspection-dump; we
should exit so that your app doesn't continue trying to launch.
Modified:
trunk/girepository/girepository.c
Modified: trunk/girepository/girepository.c
==============================================================================
--- trunk/girepository/girepository.c (original)
+++ trunk/girepository/girepository.c Mon Jan 12 21:31:45 2009
@@ -1174,7 +1174,8 @@
gpointer data,
GError **error)
{
- return g_irepository_dump (value, error);
+ gboolean ret = g_irepository_dump (value, error);
+ exit (ret ? 0 : 1);
}
static const GOptionEntry introspection_args[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]