Allow the `error' argument to be NULL; propagate the error to the

2000-11-22  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/backends.h (glibtop_open_backend_l): Allow
	the `error' argument to be NULL; propagate the error to the
	glibtop_client in this case.
This commit is contained in:
Martin Baulig
2000-11-22 21:15:28 +00:00
committed by Martin Baulig
parent 9ab1889a3f
commit f704c4becf
4 changed files with 62 additions and 22 deletions

View File

@@ -113,7 +113,7 @@ glibtop_init_backends (void);
glibtop_backend *
glibtop_open_backend_l (glibtop_client *client, const char *backend_name,
u_int64_t features, const char **backend_args,
GError **error);
GError **opt_error);
END_LIBGTOP_DECLS