mountoperation: Silence gcc
Also, printf()ing a GPid should be forbidden.
This commit is contained in:
parent
1d980192fa
commit
573f51cb29
@ -60,7 +60,7 @@ _gtk_mount_operation_kill_process (GPid pid,
|
|||||||
G_IO_ERROR,
|
G_IO_ERROR,
|
||||||
G_IO_ERROR_NOT_SUPPORTED,
|
G_IO_ERROR_NOT_SUPPORTED,
|
||||||
_("Cannot kill process with PID %d. Operation is not implemented."),
|
_("Cannot kill process with PID %d. Operation is not implemented."),
|
||||||
(int) pid);
|
(int) (gssize) pid);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1090,7 +1090,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation,
|
|||||||
&pixbuf);
|
&pixbuf);
|
||||||
|
|
||||||
if (name == NULL)
|
if (name == NULL)
|
||||||
name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) pid);
|
name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) (gssize) pid);
|
||||||
|
|
||||||
if (command_line == NULL)
|
if (command_line == NULL)
|
||||||
command_line = g_strdup ("");
|
command_line = g_strdup ("");
|
||||||
|
Loading…
Reference in New Issue
Block a user