*** empty log message ***
This commit is contained in:
@@ -92,8 +92,6 @@ glibtop_backend_init (glibtop_backend *backend)
|
||||
{
|
||||
glibtop_backend_private *priv;
|
||||
|
||||
g_message (G_STRLOC ": %p", backend);
|
||||
|
||||
priv = g_new0 (glibtop_backend_private, 1);
|
||||
backend->_priv = priv;
|
||||
}
|
||||
@@ -107,8 +105,6 @@ glibtop_backend_finalize (GObject *object)
|
||||
glibtop = GLIBTOP_BACKEND (object);
|
||||
priv = glibtop->_priv;
|
||||
|
||||
g_message (G_STRLOC);
|
||||
|
||||
g_free (priv);
|
||||
|
||||
if (G_OBJECT_CLASS (parent_class)->finalize)
|
||||
@@ -218,8 +214,6 @@ glibtop_backend_get (const char *backend_name, u_int64_t features,
|
||||
|
||||
backend->_priv->server = glibtop_server_new ();
|
||||
|
||||
g_message (G_STRLOC ": %p - %p - %p", backend, backend->_priv, info);
|
||||
|
||||
if (info->open) {
|
||||
int retval;
|
||||
|
||||
@@ -244,9 +238,6 @@ glibtop_backend_get_call_vector (glibtop_backend *backend)
|
||||
{
|
||||
g_return_val_if_fail (GLIBTOP_IS_BACKEND (backend), NULL);
|
||||
|
||||
g_message (G_STRLOC ": %p - %p - %p", backend, backend->_priv,
|
||||
backend->_priv->info);
|
||||
|
||||
g_assert (backend->_priv->info != NULL);
|
||||
|
||||
return backend->_priv->info->call_vector;
|
||||
|
@@ -167,7 +167,7 @@ sub output {
|
||||
}
|
||||
|
||||
$sysdeps_code = sprintf
|
||||
("\tif (client->_priv->backend_list == NULL) {\n\t\tg_set_error (&error, GLIBTOP_ERROR, GLIBTOP_ERROR_NO_BACKEND_OPENED, G_STRLOC);\n");
|
||||
("\tif (client->_priv->backend_list == NULL) {\n\t\tg_set_error (&error, GLIBTOP_ERROR, GLIBTOP_ERROR_NO_BACKEND_OPENED, G_STRLOC);\n\t\tglibtop_client_propagate_error (client, error);\n");
|
||||
if ($line_fields[1] eq 'retval') {
|
||||
$sysdeps_code .= sprintf
|
||||
("\t\treturn -GLIBTOP_ERROR_NO_BACKEND_OPENED;\n");
|
||||
@@ -203,7 +203,7 @@ sub output {
|
||||
("\t\t\tdone = 1;\n\t\t\tglibtop_server_unref (server);\n\t\t\t\tbreak;\n\t\t}\n\t}\n");
|
||||
|
||||
$sysdeps_code .= sprintf
|
||||
("\n\tif (!done) {\n\t\tg_set_error (&error, GLIBTOP_ERROR, GLIBTOP_ERROR_NOT_IMPLEMENTED, G_STRLOC);\n");
|
||||
("\n\tif (!done) {\n\t\tg_set_error (&error, GLIBTOP_ERROR, GLIBTOP_ERROR_NOT_IMPLEMENTED, G_STRLOC);\n\t\tglibtop_client_propagate_error (client, error);\n");
|
||||
if ($line_fields[1] eq 'retval') {
|
||||
$sysdeps_code .= sprintf
|
||||
("\t\treturn -GLIBTOP_ERROR_NOT_IMPLEMENTED;\n");
|
||||
@@ -217,6 +217,7 @@ sub output {
|
||||
if ($line_fields[1] eq 'retval') {
|
||||
$sysdeps_code .= "\tif (retval < 0) {\n";
|
||||
$sysdeps_code .= "\t\tg_set_error (&error, GLIBTOP_ERROR, -retval, G_STRLOC);\n";
|
||||
$sysdeps_code .= "\t\tglibtop_client_propagate_error (client, error);\n";
|
||||
$sysdeps_code .= "\t\tgoto do_return;\n";
|
||||
$sysdeps_code .= "\t}\n\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user