Implement

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

	* location.c (location_get_config_log): Implement
This commit is contained in:
Bradford Hovinen 2001-07-31 14:39:32 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent e31a59e98a
commit 7a711c8ba9
3 changed files with 19 additions and 0 deletions

View file

@ -13,6 +13,8 @@
(config_log_write_entry): Make sure to write log when socket_owner (config_log_write_entry): Make sure to write log when socket_owner
not set not set
* location.c (location_get_config_log): Implement
2001-07-27 Bradford Hovinen <hovinen@ximian.com> 2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_destroy): Don't * bonobo-config-archiver.c (bonobo_config_archiver_destroy): Don't

View file

@ -1265,6 +1265,21 @@ location_does_backend_change (Location *location, Location *location1,
return ret; return ret;
} }
/* location_get_config_log:
* @location:
*
* Returns the config log object for this location
*/
ConfigLog *
location_get_config_log (Location *location)
{
g_return_val_if_fail (location != NULL, FALSE);
g_return_val_if_fail (IS_LOCATION (location), FALSE);
return location->p->config_log;
}
static gint static gint
get_backends_cb (BackendList *backend_list, gchar *backend_id, get_backends_cb (BackendList *backend_list, gchar *backend_id,
Location *location) Location *location)

View file

@ -147,4 +147,6 @@ gboolean location_does_backend_change (Location *location,
Location *location1, Location *location1,
gchar *backend_id); gchar *backend_id);
ConfigLog *location_get_config_log (Location *location);
#endif /* __LOCATION */ #endif /* __LOCATION */