mountoperation: print a GPid as a number on Windows too
There it is a handle, which %d does not take; GTK+ 3 does the same.
This commit is contained in:
parent
4e6e22b57c
commit
9b568b689f
2 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ _gtk_mount_operation_kill_process (GPid pid,
|
|||
G_IO_ERROR,
|
||||
G_IO_ERROR_NOT_SUPPORTED,
|
||||
_("Cannot kill process with PID %d. Operation is not implemented."),
|
||||
pid);
|
||||
(int) (gssize) pid);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -879,7 +879,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation,
|
|||
&pixbuf);
|
||||
|
||||
if (name == NULL)
|
||||
name = g_strdup_printf (_("Unknown Application (PID %d)"), pid);
|
||||
name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) (gssize) pid);
|
||||
|
||||
if (command_line == NULL)
|
||||
command_line = g_strdup ("");
|
||||
|
|
|
|||
Loading…
Reference in a new issue