Use bonobo_object_unref rather than gtk_object_destroy

2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Use
	bonobo_object_unref rather than gtk_object_destroy

	* bonobo-moniker-archiver.c (archiver_resolve): Allow PropertyBag
	interface as well
	(parse_name): Set *location to NULL when there is no location

	* sound-properties.xml: Use 0 and 1 rather than true and false

	* capplet-dir.c (capplet_control_launch): Don't convert underscores
	to dashes in moniker
This commit is contained in:
Bradford Hovinen 2001-07-09 19:56:27 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent c09362e12a
commit 2c2fafbaad
8 changed files with 27 additions and 14 deletions

View file

@ -646,7 +646,7 @@ bonobo_config_archiver_new (const char *backend_id, const char *location_id)
archiver_db->location = archive_get_location (archive, location_id);
if (archiver_db->location == NULL) {
gtk_object_destroy (GTK_OBJECT (archiver_db));
bonobo_object_unref (BONOBO_OBJECT (archiver_db));
return CORBA_OBJECT_NIL;
}
@ -664,7 +664,7 @@ bonobo_config_archiver_new (const char *backend_id, const char *location_id)
g_free (filename);
if (archiver_db->doc == NULL) {
gtk_object_destroy (GTK_OBJECT (archiver_db));
bonobo_object_unref (BONOBO_OBJECT (archiver_db));
return CORBA_OBJECT_NIL;
}
}