gvfs r2297 - in trunk: . daemon
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2297 - in trunk: . daemon
- Date: Fri, 6 Mar 2009 15:46:17 +0000 (UTC)
Author: alexl
Date: Fri Mar 6 15:46:16 2009
New Revision: 2297
URL: http://svn.gnome.org/viewvc/gvfs?rev=2297&view=rev
Log:
2009-03-06 Alexander Larsson <alexl redhat com>
* daemon/daemon-main.c:
* daemon/gvfsbackend.c:
* daemon/gvfsbackendburn.c:
* daemon/gvfsbackenddav.c:
* daemon/gvfsbackendhttp.c:
* daemon/gvfsbackendobexftp.c:
* daemon/gvfsbackendtrash.c:
* daemon/gvfsdaemon.c:
* daemon/gvfsjobcloseread.c:
* daemon/gvfsjobclosewrite.c:
* daemon/gvfsjobcopy.c:
* daemon/gvfsjobdbus.c:
* daemon/gvfsjobenumerate.c:
* daemon/gvfsjobmount.c:
* daemon/gvfsjobmove.c:
* daemon/gvfsjobpull.c:
* daemon/gvfsjobpush.c:
* daemon/gvfsjobread.c:
* daemon/gvfsjobseekread.c:
* daemon/gvfsjobseekwrite.c:
* daemon/gvfsjobunmount.c:
* daemon/gvfsjobwrite.c:
* daemon/mount.c:
Convert all spew to g_debug()
Modified:
trunk/ChangeLog
trunk/daemon/daemon-main.c
trunk/daemon/gvfsbackend.c
trunk/daemon/gvfsbackendburn.c
trunk/daemon/gvfsbackenddav.c
trunk/daemon/gvfsbackendhttp.c
trunk/daemon/gvfsbackendobexftp.c
trunk/daemon/gvfsbackendtrash.c
trunk/daemon/gvfsdaemon.c
trunk/daemon/gvfsjobcloseread.c
trunk/daemon/gvfsjobclosewrite.c
trunk/daemon/gvfsjobcopy.c
trunk/daemon/gvfsjobdbus.c
trunk/daemon/gvfsjobenumerate.c
trunk/daemon/gvfsjobmount.c
trunk/daemon/gvfsjobmove.c
trunk/daemon/gvfsjobpull.c
trunk/daemon/gvfsjobpush.c
trunk/daemon/gvfsjobread.c
trunk/daemon/gvfsjobseekread.c
trunk/daemon/gvfsjobseekwrite.c
trunk/daemon/gvfsjobunmount.c
trunk/daemon/gvfsjobwrite.c
trunk/daemon/mount.c
Modified: trunk/daemon/daemon-main.c
==============================================================================
--- trunk/daemon/daemon-main.c (original)
+++ trunk/daemon/daemon-main.c Fri Mar 6 15:46:16 2009
@@ -162,7 +162,7 @@
found_type = TRUE;
g_mount_spec_set (mount_spec, key, p+1);
- g_print ("setting '%s' to '%s'\n", key, p+1);
+ g_debug ("setting '%s' to '%s'\n", key, p+1);
g_free (key);
}
Modified: trunk/daemon/gvfsbackend.c
==============================================================================
--- trunk/daemon/gvfsbackend.c (original)
+++ trunk/daemon/gvfsbackend.c Fri Mar 6 15:46:16 2009
@@ -481,7 +481,7 @@
job = NULL;
- g_print ("backend_dbus_handler %s:%s\n",
+ g_debug ("backend_dbus_handler %s:%s\n",
dbus_message_get_interface (message),
dbus_message_get_member (message));
Modified: trunk/daemon/gvfsbackendburn.c
==============================================================================
--- trunk/daemon/gvfsbackendburn.c (original)
+++ trunk/daemon/gvfsbackendburn.c Fri Mar 6 15:46:16 2009
@@ -708,8 +708,6 @@
{
VirtualNode *node;
- g_print ("q_i: filename: %s\n", filename);
-
node = virtual_node_lookup (G_VFS_BACKEND_BURN (backend)->root_node, filename, NULL);
if (node == NULL)
@@ -895,7 +893,6 @@
return TRUE;
}
- g_print ("file: %p, overwrite: %u\n", file, flags & G_FILE_COPY_OVERWRITE);
if (file != NULL)
{
if (flags & G_FILE_COPY_OVERWRITE)
Modified: trunk/daemon/gvfsbackenddav.c
==============================================================================
--- trunk/daemon/gvfsbackenddav.c (original)
+++ trunk/daemon/gvfsbackenddav.c Fri Mar 6 15:46:16 2009
@@ -1245,7 +1245,7 @@
MountAuthData *data;
AuthInfo *info;
- g_print ("+ soup_authenticate_from_data (%s) \n",
+ g_debug ("+ soup_authenticate_from_data (%s) \n",
retrying ? "retrying" : "first auth");
if (retrying)
@@ -1281,7 +1281,7 @@
char *new_password;
char *prompt;
- g_print ("+ soup_authenticate_interactive (%s) \n",
+ g_debug ("+ soup_authenticate_interactive (%s) \n",
retrying ? "retrying" : "first auth");
data = (MountAuthData *) user_data;
@@ -1389,7 +1389,7 @@
else
soup_session_cancel_message (session, msg, SOUP_STATUS_CANCELLED);
- g_print ("- soup_authenticate \n");
+ g_debug ("- soup_authenticate \n");
g_free (prompt);
}
@@ -1584,7 +1584,7 @@
const char *host;
const char *type;
- g_print ("+ mount\n");
+ g_debug ("+ mount\n");
host = g_mount_spec_get (mount_spec, "host");
type = g_mount_spec_get (mount_spec, "type");
@@ -1747,7 +1747,7 @@
data);
g_vfs_job_succeeded (G_VFS_JOB (job));
- g_print ("- mount\n");
+ g_debug ("- mount\n");
}
static PropName ls_propnames[] = {
@@ -1778,7 +1778,7 @@
error = NULL;
- g_print ("Query info %s\n", filename);
+ g_debug ("Query info %s\n", filename);
msg = propfind_request_new (backend, filename, 0, ls_propnames);
@@ -1851,7 +1851,7 @@
error = NULL;
- g_print ("+ do_enumerate: %s\n", filename);
+ g_debug ("+ do_enumerate: %s\n", filename);
msg = propfind_request_new (backend, filename, 1, ls_propnames);
@@ -2278,7 +2278,7 @@
if (SOUP_STATUS_IS_SUCCESSFUL (status))
{
- g_print ("new target_path: %s\n", target_path);
+ g_debug ("new target_path: %s\n", target_path);
g_vfs_job_set_display_name_set_new_path (job, target_path);
g_vfs_job_succeeded (G_VFS_JOB (job));
}
Modified: trunk/daemon/gvfsbackendhttp.c
==============================================================================
--- trunk/daemon/gvfsbackendhttp.c (original)
+++ trunk/daemon/gvfsbackendhttp.c Fri Mar 6 15:46:16 2009
@@ -297,7 +297,7 @@
if (uri_str)
uri = soup_uri_new (uri_str);
- g_print ("+ try_mount: %s\n", uri_str ? uri_str : "(null)");
+ g_debug ("+ try_mount: %s\n", uri_str ? uri_str : "(null)");
if (uri == NULL)
{
@@ -554,7 +554,7 @@
uri = soup_message_get_uri (msg);
basename = http_uri_get_basename (uri->path);
- g_print ("basename:%s\n", basename);
+ g_debug ("basename:%s\n", basename);
/* read http/1.1 rfc, until then we copy the local files
* behaviour */
Modified: trunk/daemon/gvfsbackendobexftp.c
==============================================================================
--- trunk/daemon/gvfsbackendobexftp.c (original)
+++ trunk/daemon/gvfsbackendobexftp.c Fri Mar 6 15:46:16 2009
@@ -634,7 +634,7 @@
GList *elements, *l;
gboolean found;
- g_print ("+ _query_file_info_helper, filename: %s\n", filename);
+ g_debug ("+ _query_file_info_helper, filename: %s\n", filename);
if (strcmp (filename, "/") == 0)
{
@@ -706,7 +706,7 @@
g_list_foreach (elements, (GFunc)g_object_unref, NULL);
g_list_free (elements);
- g_print ("- _query_file_info_helper\n");
+ g_debug ("- _query_file_info_helper\n");
return found;
}
@@ -825,7 +825,7 @@
GMountSpec *obexftp_mount_spec;
guint count;
- g_print ("+ do_mount\n");
+ g_debug ("+ do_mount\n");
device = g_mount_spec_get (mount_spec, "host");
@@ -894,7 +894,7 @@
op_backend->display_name = g_strdelimit (g_strdup (op_backend->bdaddr), ":", '-');
if (!op_backend->icon_name)
op_backend->icon_name = g_strdup ("bluetooth");
- g_print (" do_mount: %s (%s) mounted\n", op_backend->display_name, op_backend->bdaddr);
+ g_debug (" do_mount: %s (%s) mounted\n", op_backend->display_name, op_backend->bdaddr);
}
else
{
@@ -906,7 +906,7 @@
g_error_free (error);
return;
}
- g_print (" do_mount: usb interface %d mounted\n", op_backend->usbintfnum);
+ g_debug (" do_mount: usb interface %d mounted\n", op_backend->usbintfnum);
}
g_vfs_job_set_backend_data (G_VFS_JOB (job), backend, NULL);
@@ -990,7 +990,7 @@
g_vfs_job_succeeded (G_VFS_JOB (job));
- g_print ("- do_mount\n");
+ g_debug ("- do_mount\n");
}
static void
@@ -1020,7 +1020,7 @@
goffset size;
int fd, success;
- g_print ("+ do_open_for_read, filename: %s\n", filename);
+ g_debug ("+ do_open_for_read, filename: %s\n", filename);
g_mutex_lock (op_backend->mutex);
op_backend->doing_io = TRUE;
@@ -1148,7 +1148,7 @@
handle->size = size;
g_vfs_job_open_for_read_set_handle (job, handle);
- g_print ("- do_open_for_read, filename: %s\n", filename);
+ g_debug ("- do_open_for_read, filename: %s\n", filename);
g_vfs_job_open_for_read_set_can_seek (G_VFS_JOB_OPEN_FOR_READ (job), FALSE);
g_vfs_job_succeeded (G_VFS_JOB (job));
@@ -1233,7 +1233,7 @@
ObexFTPOpenHandle *backend_handle = (ObexFTPOpenHandle *) handle;
int busy;
- g_print ("+ do_close_read\n");
+ g_debug ("+ do_close_read\n");
busy = is_busy (op_backend->session_proxy, G_VFS_JOB (job));
if (busy < 0) {
@@ -1263,7 +1263,7 @@
g_vfs_job_succeeded (G_VFS_JOB (job));
- g_print ("- do_close_read\n");
+ g_debug ("- do_close_read\n");
}
static void
@@ -1277,7 +1277,7 @@
GVfsBackendObexftp *op_backend = G_VFS_BACKEND_OBEXFTP (backend);
GError *error = NULL;
- g_print ("+ do_query_info, filename: %s\n", filename);
+ g_debug ("+ do_query_info, filename: %s\n", filename);
g_mutex_lock (op_backend->mutex);
@@ -1293,7 +1293,7 @@
g_vfs_job_succeeded (G_VFS_JOB (job));
- g_print ("- do_query_info\n");
+ g_debug ("- do_query_info\n");
return;
}
@@ -1314,7 +1314,7 @@
GList *l;
gboolean has_free_memory;
- g_print ("+ do_query_fs_info, filename: %s\n", filename);
+ g_debug ("+ do_query_fs_info, filename: %s\n", filename);
g_mutex_lock (op_backend->mutex);
@@ -1434,7 +1434,7 @@
g_mutex_unlock (op_backend->mutex);
- g_print ("- do_query_fs_info\n");
+ g_debug ("- do_query_fs_info\n");
}
static void
@@ -1449,7 +1449,7 @@
char *files;
GList *elements = NULL;
- g_print ("+ do_enumerate, filename: %s\n", filename);
+ g_debug ("+ do_enumerate, filename: %s\n", filename);
g_mutex_lock (op_backend->mutex);
@@ -1502,7 +1502,7 @@
g_mutex_unlock (op_backend->mutex);
- g_print ("- do_enumerate\n");
+ g_debug ("- do_enumerate\n");
}
typedef struct {
@@ -1688,7 +1688,7 @@
PushData *job_data;
GFileInfo *info;
- g_print ("+ do_push, destination: %s, local_path: %s\n", destination, local_path);
+ g_debug ("+ do_push, destination: %s, local_path: %s\n", destination, local_path);
g_mutex_lock (op_backend->mutex);
op_backend->doing_io = TRUE;
@@ -1822,7 +1822,7 @@
op_backend->doing_io = FALSE;
g_mutex_unlock (op_backend->mutex);
- g_print ("- do_push\n");
+ g_debug ("- do_push\n");
}
static void
@@ -1835,7 +1835,7 @@
GError *error = NULL;
GFileInfo *info;
- g_print ("+ do_delete, filename: %s\n", filename);
+ g_debug ("+ do_delete, filename: %s\n", filename);
g_mutex_lock (op_backend->mutex);
@@ -1983,7 +1983,7 @@
g_mutex_unlock (op_backend->mutex);
- g_print ("- do_delete\n");
+ g_debug ("- do_delete\n");
}
static void
@@ -1996,7 +1996,7 @@
GError *error = NULL;
GFileInfo *info;
- g_print ("+ do_make_directory, filename: %s\n", filename);
+ g_debug ("+ do_make_directory, filename: %s\n", filename);
g_mutex_lock (op_backend->mutex);
@@ -2071,7 +2071,7 @@
g_mutex_unlock (op_backend->mutex);
- g_print ("- do_make_directory\n");
+ g_debug ("- do_make_directory\n");
}
static void
Modified: trunk/daemon/gvfsbackendtrash.c
==============================================================================
--- trunk/daemon/gvfsbackendtrash.c (original)
+++ trunk/daemon/gvfsbackendtrash.c Fri Mar 6 15:46:16 2009
@@ -363,7 +363,7 @@
{
GVfsBackendTrash *backend = G_VFS_BACKEND_TRASH (vfs_backend);
GError *error = NULL;
- g_print ("before job: %d\n", G_OBJECT(job)->ref_count);
+ g_debug ("before job: %d\n", G_OBJECT(job)->ref_count);
if (filename[1] == '\0')
g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED,
Modified: trunk/daemon/gvfsdaemon.c
==============================================================================
--- trunk/daemon/gvfsdaemon.c (original)
+++ trunk/daemon/gvfsdaemon.c Fri Mar 6 15:46:16 2009
@@ -364,7 +364,7 @@
g_vfs_daemon_add_job_source (GVfsDaemon *daemon,
GVfsJobSource *job_source)
{
- g_print ("Added new job source %p (%s)\n", job_source, g_type_name_from_instance ((gpointer)job_source));
+ g_debug ("Added new job source %p (%s)\n", job_source, g_type_name_from_instance ((gpointer)job_source));
g_mutex_lock (daemon->lock);
@@ -439,7 +439,7 @@
g_vfs_daemon_queue_job (GVfsDaemon *daemon,
GVfsJob *job)
{
- g_print ("Queued new job %p (%s)\n", job, g_type_name_from_instance ((gpointer)job));
+ g_debug ("Queued new job %p (%s)\n", job, g_type_name_from_instance ((gpointer)job));
g_object_ref (job);
g_signal_connect (job, "finished", (GCallback)job_finished_callback, daemon);
Modified: trunk/daemon/gvfsjobcloseread.c
==============================================================================
--- trunk/daemon/gvfsjobcloseread.c (original)
+++ trunk/daemon/gvfsjobcloseread.c Fri Mar 6 15:46:16 2009
@@ -92,7 +92,7 @@
{
GVfsJobCloseRead *op_job = G_VFS_JOB_CLOSE_READ (job);
- g_print ("job_close_read send reply\n");
+ g_debug ("job_close_read send reply\n");
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
Modified: trunk/daemon/gvfsjobclosewrite.c
==============================================================================
--- trunk/daemon/gvfsjobclosewrite.c (original)
+++ trunk/daemon/gvfsjobclosewrite.c Fri Mar 6 15:46:16 2009
@@ -100,7 +100,7 @@
{
GVfsJobCloseWrite *op_job = G_VFS_JOB_CLOSE_WRITE (job);
- g_print ("job_close_write send reply\n");
+ g_debug ("job_close_write send reply\n");
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
Modified: trunk/daemon/gvfsjobcopy.c
==============================================================================
--- trunk/daemon/gvfsjobcopy.c (original)
+++ trunk/daemon/gvfsjobcopy.c Fri Mar 6 15:46:16 2009
@@ -133,7 +133,7 @@
dbus_uint64_t current_dbus, total_dbus;
DBusMessage *message;
- g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
+ g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
if (op_job->callback_obj_path == NULL)
return;
Modified: trunk/daemon/gvfsjobdbus.c
==============================================================================
--- trunk/daemon/gvfsjobdbus.c (original)
+++ trunk/daemon/gvfsjobdbus.c Fri Mar 6 15:46:16 2009
@@ -156,7 +156,7 @@
DBusMessage *reply;
GVfsJobDBusClass *class;
- g_print ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:"");
+ g_debug ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:"");
class = G_VFS_JOB_DBUS_GET_CLASS (job);
Modified: trunk/daemon/gvfsjobenumerate.c
==============================================================================
--- trunk/daemon/gvfsjobenumerate.c (original)
+++ trunk/daemon/gvfsjobenumerate.c Fri Mar 6 15:46:16 2009
@@ -287,7 +287,7 @@
DBusMessage *reply;
GVfsJobDBusClass *class;
- g_print ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:"");
+ g_debug ("send_reply(%p), failed=%d (%s)\n", job, job->failed, job->failed?job->error->message:"");
class = G_VFS_JOB_DBUS_GET_CLASS (job);
Modified: trunk/daemon/gvfsjobmount.c
==============================================================================
--- trunk/daemon/gvfsjobmount.c (original)
+++ trunk/daemon/gvfsjobmount.c Fri Mar 6 15:46:16 2009
@@ -157,7 +157,7 @@
}
}
else
- g_print ("Mount failed: %s\n", error->message);
+ g_debug ("Mount failed: %s\n", error->message);
backend = g_object_ref (op_job->backend);
g_vfs_job_emit_finished (G_VFS_JOB (op_job));
@@ -176,7 +176,7 @@
DBusConnection *conn;
DBusMessage *reply;
- g_print ("register_mount_callback, mount_reply: %p, error: %p\n", mount_reply, error);
+ g_debug ("register_mount_callback, mount_reply: %p, error: %p\n", mount_reply, error);
if (mount_reply == NULL)
mount_failed (op_job, error);
@@ -205,7 +205,7 @@
{
GVfsJobMount *op_job = G_VFS_JOB_MOUNT (job);
- g_print ("send_reply, failed: %d\n", job->failed);
+ g_debug ("send_reply, failed: %d\n", job->failed);
if (job->failed)
mount_failed (op_job, job->error);
Modified: trunk/daemon/gvfsjobmove.c
==============================================================================
--- trunk/daemon/gvfsjobmove.c (original)
+++ trunk/daemon/gvfsjobmove.c Fri Mar 6 15:46:16 2009
@@ -132,7 +132,7 @@
dbus_uint64_t current_dbus, total_dbus;
DBusMessage *message;
- g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
+ g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
if (op_job->callback_obj_path == NULL)
return;
Modified: trunk/daemon/gvfsjobpull.c
==============================================================================
--- trunk/daemon/gvfsjobpull.c (original)
+++ trunk/daemon/gvfsjobpull.c Fri Mar 6 15:46:16 2009
@@ -119,7 +119,7 @@
job->backend = backend;
job->flags = flags;
job->remove_source = remove_source;
- g_print ("Remove Source: %s\n", remove_source ? "true" : "false");
+ g_debug ("Remove Source: %s\n", remove_source ? "true" : "false");
if (strcmp (callback_obj_path, "/org/gtk/vfs/void") != 0)
job->callback_obj_path = g_strdup (callback_obj_path);
@@ -137,7 +137,7 @@
dbus_uint64_t current_dbus, total_dbus;
DBusMessage *message;
- g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
+ g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
if (op_job->callback_obj_path == NULL)
return;
Modified: trunk/daemon/gvfsjobpush.c
==============================================================================
--- trunk/daemon/gvfsjobpush.c (original)
+++ trunk/daemon/gvfsjobpush.c Fri Mar 6 15:46:16 2009
@@ -119,7 +119,7 @@
job->backend = backend;
job->flags = flags;
job->remove_source = remove_source;
- g_print ("Remove Source: %s\n", remove_source ? "true" : "false");
+ g_debug ("Remove Source: %s\n", remove_source ? "true" : "false");
if (strcmp (callback_obj_path, "/org/gtk/vfs/void") != 0)
job->callback_obj_path = g_strdup (callback_obj_path);
@@ -137,7 +137,7 @@
dbus_uint64_t current_dbus, total_dbus;
DBusMessage *message;
- g_print ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
+ g_debug ("progress_callback %d/%d\n", (int)current_num_bytes, (int)total_num_bytes);
if (op_job->callback_obj_path == NULL)
return;
Modified: trunk/daemon/gvfsjobread.c
==============================================================================
--- trunk/daemon/gvfsjobread.c (original)
+++ trunk/daemon/gvfsjobread.c Fri Mar 6 15:46:16 2009
@@ -96,7 +96,7 @@
send_reply (GVfsJob *job)
{
GVfsJobRead *op_job = G_VFS_JOB_READ (job);
- g_print ("job_read send reply, %"G_GSIZE_FORMAT" bytes\n", op_job->data_count);
+ g_debug ("job_read send reply, %"G_GSIZE_FORMAT" bytes\n", op_job->data_count);
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
Modified: trunk/daemon/gvfsjobseekread.c
==============================================================================
--- trunk/daemon/gvfsjobseekread.c (original)
+++ trunk/daemon/gvfsjobseekread.c Fri Mar 6 15:46:16 2009
@@ -96,7 +96,7 @@
{
GVfsJobSeekRead *op_job = G_VFS_JOB_SEEK_READ (job);
- g_print ("job_seek_read send reply, pos %d\n", (int)op_job->final_offset);
+ g_debug ("job_seek_read send reply, pos %d\n", (int)op_job->final_offset);
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
Modified: trunk/daemon/gvfsjobseekwrite.c
==============================================================================
--- trunk/daemon/gvfsjobseekwrite.c (original)
+++ trunk/daemon/gvfsjobseekwrite.c Fri Mar 6 15:46:16 2009
@@ -96,7 +96,7 @@
{
GVfsJobSeekWrite *op_job = G_VFS_JOB_SEEK_WRITE (job);
- g_print ("job_seek_write send reply, pos %d\n", (int)op_job->final_offset);
+ g_debug ("job_seek_write send reply, pos %d\n", (int)op_job->final_offset);
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
Modified: trunk/daemon/gvfsjobunmount.c
==============================================================================
--- trunk/daemon/gvfsjobunmount.c (original)
+++ trunk/daemon/gvfsjobunmount.c Fri Mar 6 15:46:16 2009
@@ -78,7 +78,7 @@
{
GVfsJobUnmount *job;
- g_print ("g_vfs_job_unmount_new request: %p\n", message);
+ g_debug ("g_vfs_job_unmount_new request: %p\n", message);
job = g_object_new (G_VFS_TYPE_JOB_UNMOUNT,
"message", message,
@@ -130,7 +130,7 @@
GVfsBackend *backend;
GVfsJobUnmount *op_job = G_VFS_JOB_UNMOUNT (user_data);
- g_print ("unregister_mount_callback, unmount_reply: %p, error: %p\n", unmount_reply, error);
+ g_debug ("unregister_mount_callback, unmount_reply: %p, error: %p\n", unmount_reply, error);
backend = op_job->backend;
(*G_VFS_JOB_CLASS (g_vfs_job_unmount_parent_class)->send_reply) (G_VFS_JOB (op_job));
@@ -145,7 +145,7 @@
{
GVfsJobUnmount *op_job = G_VFS_JOB_UNMOUNT (job);
- g_print ("send_reply, failed: %d\n", job->failed);
+ g_debug ("send_reply, failed: %d\n", job->failed);
if (job->failed)
(*G_VFS_JOB_CLASS (g_vfs_job_unmount_parent_class)->send_reply) (G_VFS_JOB (op_job));
Modified: trunk/daemon/gvfsjobwrite.c
==============================================================================
--- trunk/daemon/gvfsjobwrite.c (original)
+++ trunk/daemon/gvfsjobwrite.c Fri Mar 6 15:46:16 2009
@@ -99,7 +99,7 @@
send_reply (GVfsJob *job)
{
GVfsJobWrite *op_job = G_VFS_JOB_WRITE (job);
- g_print ("job_write send reply\n");
+ g_debug ("job_write send reply\n");
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
Modified: trunk/daemon/mount.c
==============================================================================
--- trunk/daemon/mount.c (original)
+++ trunk/daemon/mount.c Fri Mar 6 15:46:16 2009
@@ -794,7 +794,7 @@
AutoMountData *data;
GMountSource *mount_source;
- g_print ("automounting...\n");
+ g_debug ("automounting...\n");
mount_source = g_mount_source_new_dummy ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]